mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
b50e21646e
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: Rhys Arkins <rhys@arkins.net>
29 lines
605 B
TypeScript
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;
|
|
}
|