Add types for lock-system

This commit is contained in:
Dimitri Benin
2018-12-12 01:44:01 +01:00
parent 10739f8bd4
commit 76fc3bdf97
4 changed files with 35 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
// Type definitions for lock-system 1.3
// Project: https://github.com/sindresorhus/lock-system#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = lockSystem;
declare function lockSystem(): void;
+3
View File
@@ -0,0 +1,3 @@
import lockSystem = require('lock-system');
lockSystem();
+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",
"lock-system-tests.ts"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }