typescript env file code example
Example: .env typescript
npm install dotenv;
OR
yarn add dotenv;
import * as dotenv from 'dotenv';
//inside your starter code, do this
...
...
dotenv.config();
...
npm install dotenv;
OR
yarn add dotenv;
import * as dotenv from 'dotenv';
//inside your starter code, do this
...
...
dotenv.config();
...