mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
5e0e9ac1c2
* refactor: prepare esm helper * chore: fix type name
23 lines
495 B
TypeScript
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;
|
|
}
|