aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/globals.d.ts
blob: 06581fe739510f91fc11bc3bb5729841e19bc7a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * 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;
}