File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ type CliContainerParseResult =
1010 | { ok : true ; container : string | null ; argv : string [ ] }
1111 | { ok : false ; error : string } ;
1212
13- export type CliContainerTargetResult =
13+ type CliContainerTargetResult =
1414 | { handled : true ; exitCode : number }
1515 | { handled : false ; argv : string [ ] } ;
1616
Original file line number Diff line number Diff line change 1- export const LEGACY_DAEMON_CLI_EXPORTS = [
1+ const LEGACY_DAEMON_CLI_EXPORTS = [
22 "registerDaemonCli" ,
33 "runDaemonInstall" ,
44 "runDaemonRestart" ,
@@ -10,7 +10,7 @@ export const LEGACY_DAEMON_CLI_EXPORTS = [
1010
1111type LegacyDaemonCliExport = ( typeof LEGACY_DAEMON_CLI_EXPORTS ) [ number ] ;
1212type LegacyDaemonCliRunnerExport = Exclude < LegacyDaemonCliExport , "registerDaemonCli" > ;
13- export type LegacyDaemonCliAccessors = {
13+ type LegacyDaemonCliAccessors = {
1414 registerDaemonCli : string ;
1515 runDaemonRestart : string ;
1616} & Partial <
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type TimingPayload = {
1616type TimingWriter = ( line : string ) => void ;
1717type NonPromise < T > = T extends PromiseLike < unknown > ? never : T ;
1818
19- export type CliDebugTiming = {
19+ type CliDebugTiming = {
2020 enabled : boolean ;
2121 mark : ( phase : string , details ?: TimingDetails ) => void ;
2222 time : < T > (
Original file line number Diff line number Diff line change 33 normalizeOptionalString ,
44} from "../shared/string-coerce.js" ;
55
6- export type BytesParseOptions = {
6+ type BytesParseOptions = {
77 defaultUnit ?: "b" | "kb" | "mb" | "gb" | "tb" ;
88} ;
99
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { loadPluginManifest } from "../plugins/manifest.js";
66import { resolveUserPath } from "../utils.js" ;
77import { parseNpmPrefixSpec , resolveFileNpmSpecToLocalPath } from "./plugins-command-helpers.js" ;
88
9- export type PluginInstallInvalidConfigPolicy = "deny" | "allow-bundled-recovery" ;
9+ type PluginInstallInvalidConfigPolicy = "deny" | "allow-bundled-recovery" ;
1010
1111export type PluginInstallRequestContext = {
1212 rawSpec : string ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { isValidProfileName } from "./profile-utils.js";
1111import { scanCliRootOptions } from "./root-option-scan.js" ;
1212import { takeCliRootOptionValue } from "./root-option-value.js" ;
1313
14- export type CliProfileParseResult =
14+ type CliProfileParseResult =
1515 | { ok : true ; profile : string | null ; argv : string [ ] }
1616 | { ok : false ; error : string } ;
1717
Original file line number Diff line number Diff line change 11import { FLAG_TERMINATOR } from "../infra/cli-root-options.js" ;
22import { forwardConsumedCliRootOption } from "./root-option-forward.js" ;
33
4- export type CliRootOptionScanResult = { ok : true ; argv : string [ ] } | { ok : false ; error : string } ;
4+ type CliRootOptionScanResult = { ok : true ; argv : string [ ] } | { ok : false ; error : string } ;
55
66type CliRootOptionVisitResult =
77 | { kind : "pass" }
You can’t perform that action at this time.
0 commit comments