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 {
|
2019-07-17 08:14:56 +00:00
|
|
|
configFile?: string;
|
|
|
|
|
2019-05-16 11:38:21 +00:00
|
|
|
validationError?: string;
|
|
|
|
validationMessage?: string;
|
|
|
|
}
|
|
|
|
|
2019-05-15 13:40:29 +00:00
|
|
|
declare namespace NodeJS {
|
|
|
|
interface Global {
|
|
|
|
gitAuthor?: { name: string; email: string };
|
2019-07-17 08:14:56 +00:00
|
|
|
|
|
|
|
trustLevel?: string;
|
2019-05-15 13:40:29 +00:00
|
|
|
}
|
|
|
|
}
|
2019-07-17 08:14:56 +00:00
|
|
|
|
|
|
|
// can't use `resolveJsonModule` because it will copy json files and change dist path
|
|
|
|
declare module '*.json' {
|
2019-08-23 13:46:31 +00:00
|
|
|
const value: { version: string } & Record<string, any>;
|
2019-07-17 08:14:56 +00:00
|
|
|
export = value;
|
|
|
|
}
|