renovate/lib/globals.d.ts
Michael Kriese b50e21646e
feat: deprecate node v12 (#8956)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-03-05 09:59:07 +00:00

29 lines
605 B
TypeScript

/*
* This file should be removed in future.
*/
declare interface Error {
configFile?: string;
validationError?: string;
validationMessage?: string;
}
declare namespace NodeJS {
interface Global {
gitAuthor?: { name: string; email: string };
}
}
// can't use `resolveJsonModule` because it will copy json files and change dist path
declare module '*/package.json' {
import { PackageJson } from 'type-fest';
const value: PackageJson & { 'engines-next': Record<string, string> };
export = value;
}
declare module '*.json' {
const value: Record<string, any>;
export = value;
}