npx dts-gen -m concat-map --dt

This commit is contained in:
Claas Ahlrichs
2019-04-14 14:36:06 +02:00
parent b7859fce26
commit d1610f6ded
4 changed files with 38 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// Type definitions for concat-map 0.0
// Project: https://github.com/substack/node-concat-map
// Definitions by: My Self <https://github.com/me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = concat_map;
declare function concat_map(xs: any, fn: any): any;
declare namespace concat_map {
const prototype: {
};
}
+22
View File
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"concat-map-tests.ts"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }