0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-11 05:39:10 +00:00
renovatebot_renovate/lib/globals.d.ts
Michael Kriese 5e0e9ac1c2
refactor: prepare esm helper (#13250)
* refactor: prepare esm helper

* chore: fix type name
2021-12-22 17:01:28 +01:00

23 lines
495 B
TypeScript

/*
* This file should be removed in future.
*/
declare interface Error {
validationSource?: string;
validationError?: string;
validationMessage?: string;
}
// 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;
}
declare module '*.json' {
const value: Record<string, any>;
export = value;
}