next
Version:
The React Framework
8 lines (7 loc) • 324 B
TypeScript
/**
* Attempts to patch npm package-lock.json when it
* fails to include optionalDependencies for other platforms
* this can occur when the package-lock is rebuilt from a current
* node_modules install instead of pulling fresh package data
*/
export declare function patchIncorrectLockfile(dir: string): Promise<void>;