next
Version:
The React Framework
9 lines (8 loc) • 364 B
TypeScript
import '../server/node-polyfill-fetch';
/**
* 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>;