Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit be11b39

Browse files
committed
fix types
1 parent 1ff95bf commit be11b39

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

global.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
declare const __DEV__: boolean;
2+
3+
declare namespace NodeJS {
4+
// override the type set by Next (in examples), which sets NODE_ENV to readonly globally
5+
interface ProcessEnv {
6+
NODE_ENV: 'development' | 'production' | 'test';
7+
}
8+
}

0 commit comments

Comments
 (0)