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