add types for merge-env (#30629)

This commit is contained in:
Dimitri Benin
2018-11-18 11:45:32 -08:00
committed by Pranav Senthilnathan
parent 8225c94050
commit fb1c996762
4 changed files with 36 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for merge-env 1.0
// Project: https://github.com/bholloway/merge-env
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
export = mergeEnv;
declare function mergeEnv(target: object, ...sources: any[]): any;
+3
View File
@@ -0,0 +1,3 @@
import mergeEnv = require("merge-env");
const mergedConfiguration = mergeEnv({}, {}, {});
+23
View File
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"merge-env-tests.ts"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }