2020-02-07 18:25:27 +00:00
|
|
|
/*
|
|
|
|
* This file should be removed in future.
|
|
|
|
*/
|
|
|
|
|
2019-05-16 11:38:21 +00:00
|
|
|
declare interface Error {
|
2021-05-17 07:40:54 +00:00
|
|
|
validationSource?: string;
|
2019-07-17 08:14:56 +00:00
|
|
|
|
2019-05-16 11:38:21 +00:00
|
|
|
validationError?: string;
|
|
|
|
validationMessage?: string;
|
|
|
|
}
|
|
|
|
|
2019-07-17 08:14:56 +00:00
|
|
|
// can't use `resolveJsonModule` because it will copy json files and change dist path
|
2021-03-05 09:59:07 +00:00
|
|
|
|
|
|
|
declare module '*/package.json' {
|
2021-12-22 16:01:28 +00:00
|
|
|
type RenovatePackageJson = import('./types').RenovatePackageJson;
|
|
|
|
const value: RenovatePackageJson;
|
2021-03-05 09:59:07 +00:00
|
|
|
export = value;
|
|
|
|
}
|
|
|
|
|
2019-07-17 08:14:56 +00:00
|
|
|
declare module '*.json' {
|
2021-03-05 09:59:07 +00:00
|
|
|
const value: Record<string, any>;
|
2019-07-17 08:14:56 +00:00
|
|
|
export = value;
|
|
|
|
}
|