renovate/lib/globals.d.ts

22 lines
455 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 '*.json' {
const value: { version: string } & Record<string, any>;
export = value;
}