MCPcopy
hub / github.com/nodejs/corepack / FoundSpecResult

Interface FoundSpecResult

sources/specUtils.ts:150–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150interface FoundSpecResult {
151 type: `Found`;
152 target: string;
153 getSpec: (options?: {enforceExactVersion?: boolean}) => Descriptor;
154 range?: Descriptor & {onFail?: DevEngineDependency[`onFail`]};
155 envFilePath?: string;
156}
157export type LoadSpecResult =
158 | {type: `NoProject`, target: string}
159 | {type: `NoSpec`, target: string}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…