This commit is contained in:
18
env.d.ts
vendored
Normal file
18
env.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare global {
|
||||
interface ImportMeta {
|
||||
env: {
|
||||
NODE_ENV: 'production' | 'development'
|
||||
PROD: boolean
|
||||
DEV: boolean
|
||||
}
|
||||
}
|
||||
namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
NODE_ENV: 'production' | 'development'
|
||||
PROD: boolean
|
||||
DEV: boolean
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {}
|
||||
Reference in New Issue
Block a user