mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Added declarations for 'is-path-cwd'. (#13172)
This commit is contained in:
parent
a4ca347c36
commit
227b936636
7
is-path-cwd/index.d.ts
vendored
Normal file
7
is-path-cwd/index.d.ts
vendored
Normal 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;
|
||||
3
is-path-cwd/is-path-cwd-tests.ts
Normal file
3
is-path-cwd/is-path-cwd-tests.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import isPathCwd = require("is-path-cwd");
|
||||
|
||||
isPathCwd("unicorn");
|
||||
19
is-path-cwd/tsconfig.json
Normal file
19
is-path-cwd/tsconfig.json
Normal 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
1
is-path-cwd/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
Loading…
Reference in New Issue
Block a user