mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
387 B
TypeScript
14 lines
387 B
TypeScript
// Type definitions for which 1.0.8
|
|
// Project: https://github.com/isaacs/node-which
|
|
// Definitions by: vvakame <https://github.com/vvakame>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare module "which" {
|
|
function when (cmd: string, cb: (err: Error, path: string) => void): void;
|
|
module when {
|
|
function sync(cmd: string): string;
|
|
}
|
|
|
|
export = when;
|
|
}
|