Skip to content

Commit 2eb5f5e

Browse files
committed
refactor(ecosystem/environment): colocate 4 detect-options type aliases (drop unused exports)
1 parent bb45629 commit 2eb5f5e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/cli/src/util/ecosystem/environment.mts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const binByAgent = new Map<Agent, string>([
7979

8080
export type Agent = (typeof AGENTS)[number]
8181

82-
export type EnvBase = {
82+
type EnvBase = {
8383
agent: Agent
8484
agentExecPath: string
8585
agentSupported: boolean
@@ -114,18 +114,18 @@ export type EnvDetails = Readonly<
114114
>
115115
>
116116

117-
export type DetectAndValidateOptions = {
117+
type DetectAndValidateOptions = {
118118
cmdName?: string | undefined
119119
logger?: Logger | undefined
120120
prod?: boolean | undefined
121121
}
122122

123-
export type DetectOptions = {
123+
type DetectOptions = {
124124
cwd?: string | undefined
125125
onUnknown?: ((pkgManager: string | undefined) => void) | undefined
126126
}
127127

128-
export type PartialEnvDetails = Readonly<
128+
type PartialEnvDetails = Readonly<
129129
Remap<
130130
EnvBase & {
131131
agentVersion: SemVer | undefined

0 commit comments

Comments
 (0)