UNPKG

unimported

Version:

Scans your nodejs project folder and shows obsolete files and modules

8 lines (7 loc) 420 B
export declare function createTestProject(files: Array<{ name: string; content: string; }> | Record<string, unknown>, baseDir?: string, name?: string): Promise<string>; type UnboxPromise<T extends Promise<any>> = T extends Promise<infer U> ? U : never; export declare function runWithFiles<T extends (...args: any) => any>(files: Record<string, unknown>, cb: T): Promise<UnboxPromise<ReturnType<T>>>; export {};