renovate/lib/globals.d.ts

24 lines
495 B
TypeScript
Raw Normal View History

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