index.d.ts 215 B

123456789101112
  1. interface Options {
  2. exitCode: number;
  3. message: (version: string) => string;
  4. }
  5. declare function pleaseUpgradeNode(
  6. pkg: Record<string, unknown>,
  7. opts?: Partial<Options>
  8. ): void;
  9. export = pleaseUpgradeNode;