diff options
Diffstat (limited to '@types/index.d.ts')
-rw-r--r-- | @types/index.d.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/@types/index.d.ts b/@types/index.d.ts index e21f88cee..4bfdb28fc 100644 --- a/@types/index.d.ts +++ b/@types/index.d.ts | |||
@@ -2,8 +2,18 @@ declare global { | |||
2 | interface Window { | 2 | interface Window { |
3 | ferdi: any; | 3 | ferdi: any; |
4 | } | 4 | } |
5 | } | ||
6 | 5 | ||
6 | namespace NodeJS { | ||
7 | interface ProcessEnv { | ||
8 | GITHUB_AUTH_TOKEN: string; | ||
9 | NODE_ENV: 'development' | 'production'; | ||
10 | FERDI_APPDATA_DIR?: string; | ||
11 | PORTABLE_EXECUTABLE_DIR?: string; | ||
12 | ELECTRON_IS_DEV?: string; | ||
13 | APPDATA?: string; | ||
14 | } | ||
15 | } | ||
16 | } | ||
7 | /** | 17 | /** |
8 | * Workaround to make TS recognize this file as a module. | 18 | * Workaround to make TS recognize this file as a module. |
9 | * https://fettblog.eu/typescript-augmenting-global-lib-dom/ | 19 | * https://fettblog.eu/typescript-augmenting-global-lib-dom/ |