work.suroh.tk/node_modules/please-upgrade-node/index.d.ts

12 lines
215 B
TypeScript

interface Options {
exitCode: number;
message: (version: string) => string;
}
declare function pleaseUpgradeNode(
pkg: Record<string, unknown>,
opts?: Partial<Options>
): void;
export = pleaseUpgradeNode;