11 lines
352 B
TypeScript
11 lines
352 B
TypeScript
|
export interface MissingDependency {
|
||
|
file: string;
|
||
|
pkg: string;
|
||
|
exportsRestrict: boolean;
|
||
|
}
|
||
|
export type NecessaryDependencies = {
|
||
|
resolved: Map<string, string>;
|
||
|
missing: MissingDependency[];
|
||
|
};
|
||
|
export declare function hasNecessaryDependencies(baseDir: string, requiredPackages: MissingDependency[]): Promise<NecessaryDependencies>;
|