@types/command-exists
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -11,3 +11,3 @@ // Type definitions for command-exists 1.2 | ||
commandName: string, | ||
cb: (error: null, exists: boolean) => void | ||
cb: (error: null, exists: boolean) => void, | ||
): void; | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "@types/command-exists", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "TypeScript definitions for command-exists", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists", | ||
"license": "MIT", | ||
@@ -14,11 +15,12 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/command-exists" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "76ee85604c02c6cee1625656e3b2f6992fc6f764894636c48914353e8c1da218", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "bac12bf7c2a04e66aa6956c8e50412045b7529ff195064538224df5a151a9012", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -8,6 +8,26 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists/index.d.ts) | ||
````ts | ||
// Type definitions for command-exists 1.2 | ||
// Project: https://github.com/mathisonian/command-exists | ||
// Definitions by: BendingBender <https://github.com/BendingBender> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Fri, 07 Dec 2018 19:11:36 GMT | ||
export = commandExists; | ||
declare function commandExists(commandName: string): Promise<string>; | ||
declare function commandExists( | ||
commandName: string, | ||
cb: (error: null, exists: boolean) => void, | ||
): void; | ||
declare namespace commandExists { | ||
function sync(commandName: string): boolean; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Mon, 04 Sep 2023 15:41:02 GMT | ||
* Dependencies: none | ||
@@ -17,2 +37,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by BendingBender <https://github.com/BendingBender>. | ||
These definitions were written by [BendingBender](https://github.com/BendingBender). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3686
0
37