Skip to content

Commit

Permalink
Declare options for .env in global.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Feb 13, 2024
1 parent a6a4786 commit 6ed667e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
declare global {
namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production' | 'test'
REACT_APP_BUILD_DATETIME: string
REACT_APP_BUILD_SHA: string
REACT_APP_BUILD_VERSION: string
REACT_APP_API: string
REACT_APP_TESTNET_API: string
REACT_APP_NO_BUILD_BANNERS?: 'true' | 'false'
REACT_APP_TITLE?: string
REACT_APP_DESC?: string
REACT_APP_SOCIAL_TELEGRAM?: string
REACT_APP_SOCIAL_TWITTER?: string
REACT_APP_SOCIAL_DISCORD?: string
REACT_APP_SOCIAL_YOUTUBE?: string
REACT_APP_SOCIAL_REDDIT?: string
}
}
}

0 comments on commit 6ed667e

Please sign in to comment.