securityos/node_modules/next/dist/lib/has-necessary-dependencies....

11 lines
352 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
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>;