mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
add types for merge-env (#30629)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
8225c94050
commit
fb1c996762
Vendored
+9
@@ -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;
|
||||
@@ -0,0 +1,3 @@
|
||||
import mergeEnv = require("merge-env");
|
||||
|
||||
const mergedConfiguration = mergeEnv({}, {}, {});
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user