diff --git a/types/react-native-dotenv/index.d.ts b/types/react-native-dotenv/index.d.ts index c2e215dd58..9066cfc0aa 100644 --- a/types/react-native-dotenv/index.d.ts +++ b/types/react-native-dotenv/index.d.ts @@ -2,9 +2,12 @@ // Project: https://github.com/zetachang/react-native-dotenv // Definitions by: hmajid2301 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 3.0 interface Env { [name: string]: string; } -export const env: Env; +declare const env: Env; + +export { env };