mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
178 B
TypeScript
11 lines
178 B
TypeScript
/// <reference path="./which.d.ts" />
|
|
|
|
import which = require("which");
|
|
|
|
which("cat", (err, path) => {
|
|
console.log(path);
|
|
});
|
|
|
|
var path = which.sync("cat");
|
|
console.log(path);
|