refactor: trim core local type exports · openclaw/openclaw@6e7b2fd
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -84,7 +84,7 @@ export function resolveOpenClawCompileCacheDirectory(params: {
|
84 | 84 | ); |
85 | 85 | } |
86 | 86 | |
87 | | -export type OpenClawCompileCacheRespawnPlan = { |
| 87 | +type OpenClawCompileCacheRespawnPlan = { |
88 | 88 | command: string; |
89 | 89 | args: string[]; |
90 | 90 | env: NodeJS.ProcessEnv; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,7 +7,7 @@ export const EXPERIMENTAL_WARNING_FLAG = "--disable-warning=ExperimentalWarning"
|
7 | 7 | export const OPENCLAW_NODE_OPTIONS_READY = "OPENCLAW_NODE_OPTIONS_READY"; |
8 | 8 | export const OPENCLAW_NODE_EXTRA_CA_CERTS_READY = "OPENCLAW_NODE_EXTRA_CA_CERTS_READY"; |
9 | 9 | |
10 | | -export type CliRespawnPlan = { |
| 10 | +type CliRespawnPlan = { |
11 | 11 | command: string; |
12 | 12 | argv: string[]; |
13 | 13 | env: NodeJS.ProcessEnv; |
@@ -29,7 +29,7 @@ export function resolveCliRespawnCommand(params: {
|
29 | 29 | return params.execPath; |
30 | 30 | } |
31 | 31 | |
32 | | -export function hasExperimentalWarningSuppressed( |
| 32 | +function hasExperimentalWarningSuppressed( |
33 | 33 | params: { |
34 | 34 | env?: NodeJS.ProcessEnv; |
35 | 35 | execArgv?: string[]; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { readSnakeCaseParamRaw } from "./param-key.js"; |
2 | 2 | import { normalizeLowercaseStringOrEmpty } from "./shared/string-coerce.js"; |
3 | 3 | |
4 | | -export type PollCreationParamKind = "string" | "stringArray" | "number" | "boolean"; |
| 4 | +type PollCreationParamKind = "string" | "stringArray" | "number" | "boolean"; |
5 | 5 | |
6 | | -export type PollCreationParamDef = { |
| 6 | +type PollCreationParamDef = { |
7 | 7 | kind: PollCreationParamKind; |
8 | 8 | }; |
9 | 9 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。