@types/which
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -16,2 +16,6 @@ // Type definitions for which 1.3.0 | ||
declare function which(cmd: string, cb: (err: Error | null, path: string | undefined) => void): void; | ||
/** Finds the first instance of a specified executable in the PATH environment variable */ | ||
declare function which(cmd: string, options: which.AsyncOptions & which.OptionsAll): Promise<string[]>; | ||
/** Finds the first instance of a specified executable in the PATH environment variable */ | ||
declare function which(cmd: string, options?: which.AsyncOptions & which.OptionsFirst): Promise<string>; | ||
declare namespace which { | ||
@@ -18,0 +22,0 @@ /** Finds all instances of a specified executable in the PATH environment variable */ |
{ | ||
"name": "@types/which", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "TypeScript definitions for which", | ||
@@ -19,10 +19,12 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/which" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "c0aadd60efeda90cc38d1fa42632429d49a646637baaf36502b15e7df80450f1", | ||
"typesPublisherContentHash": "b1da79a5b7efacad8acd13f9ce57573e1c5678fd66bbb1942df03aa04ed92590", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/which | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/which | ||
Additional Details | ||
* Last updated: Wed, 03 Jan 2018 08:57:34 GMT | ||
* Last updated: Wed, 09 Oct 2019 23:22:48 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by vvakame <https://github.com/vvakame>, cspotcode <https://github.com/cspotcode>. | ||
These definitions were written by vvakame <https://github.com/vvakame>, and cspotcode <https://github.com/cspotcode>. |
Sorry, the diff of this file is not supported yet
6522
62