mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Fixed Issues
Fixed issues related to code review.
This commit is contained in:
Vendored
+1
-2
@@ -9,5 +9,4 @@ interface Env {
|
||||
}
|
||||
|
||||
declare const env: Env;
|
||||
|
||||
export { env };
|
||||
export = env;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import { env } from "react-native-dotenv";
|
||||
import env from "react-native-dotenv";
|
||||
|
||||
env.API_KEY;
|
||||
|
||||
@@ -1,23 +1,17 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"lib": ["es6"],
|
||||
"esModuleInterop": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"react-native-dotenv-tests.ts"
|
||||
]
|
||||
"files": ["index.d.ts", "react-native-dotenv-tests.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user