Skip to content

Commit

Permalink
Fix process.env declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds authored and lukaw3d committed Feb 21, 2024
1 parent a042266 commit a056b1c
Showing 1 changed file with 27 additions and 29 deletions.
56 changes: 27 additions & 29 deletions src/types/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
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_SHOW_BUILD_BANNERS?: 'true' | 'false'
REACT_APP_META_TITLE: string
REACT_APP_META_IMAGE: string
REACT_APP_META_MANIFEST: string
REACT_APP_META_FAVICON: string
REACT_APP_META_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
REACT_APP_SOCIAL_LINKEDIN?: string
REACT_APP_SOCIAL_DOCS?: string
REACT_APP_SOCIAL_HOME?: string
REACT_APP_PRODUCTION_URLS: string
REACT_APP_STAGING_URLS?: string
REACT_APP_FIXED_NETWORK?: string
REACT_APP_FIXED_LAYER?: string
REACT_APP_SHOW_FIAT_VALUES?: string
}
namespace NodeJS {

Check warning on line 1 in src/types/global.d.ts

View workflow job for this annotation

GitHub Actions / lint

'NodeJS' is defined but never used
interface ProcessEnv {

Check warning on line 2 in src/types/global.d.ts

View workflow job for this annotation

GitHub Actions / lint

'ProcessEnv' is defined but never used
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_SHOW_BUILD_BANNERS?: 'true' | 'false'
REACT_APP_META_TITLE: string
REACT_APP_META_IMAGE: string
REACT_APP_META_MANIFEST: string
REACT_APP_META_FAVICON: string
REACT_APP_META_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
REACT_APP_SOCIAL_LINKEDIN?: string
REACT_APP_SOCIAL_DOCS?: string
REACT_APP_SOCIAL_HOME?: string
REACT_APP_PRODUCTION_URLS: string
REACT_APP_STAGING_URLS?: string
REACT_APP_FIXED_NETWORK?: string
REACT_APP_FIXED_LAYER?: string
REACT_APP_SHOW_FIAT_VALUES?: string
}
}

0 comments on commit a056b1c

Please sign in to comment.