renovate/lib/globals.d.ts

24 lines
495 B
TypeScript
Raw Normal View History

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 {
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
declare module '*/package.json' {
type RenovatePackageJson = import('./types').RenovatePackageJson;
const value: RenovatePackageJson;
export = value;
}
2019-07-17 02:14:56 -06:00
declare module '*.json' {
const value: Record<string, any>;
2019-07-17 02:14:56 -06:00
export = value;
}