Added declarations for 'is-path-cwd'. (#13172)

This commit is contained in:
Daniel Rosenwasser 2016-12-08 06:50:21 -08:00 committed by Andy
parent a4ca347c36
commit 227b936636
4 changed files with 30 additions and 0 deletions

7
is-path-cwd/index.d.ts vendored Normal file
View File

@ -0,0 +1,7 @@
// Type definitions for is-path-cwd 1.0
// Project: https://github.com/sindresorhus/is-path-cwd
// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function isPathCwd(path: string): boolean;
export = isPathCwd;

View File

@ -0,0 +1,3 @@
import isPathCwd = require("is-path-cwd");
isPathCwd("unicorn");

19
is-path-cwd/tsconfig.json Normal file
View File

@ -0,0 +1,19 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"is-path-cwd-tests.ts"
]
}

1
is-path-cwd/tslint.json Normal file
View File

@ -0,0 +1 @@
{ "extends": "../tslint.json" }