mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
fix typo... hehe :P
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/// <reference path="./which.d.ts" />
|
||||
|
||||
import when = require("when");
|
||||
import which = require("which");
|
||||
|
||||
when("cat", (err, path) => {
|
||||
which("cat", (err, path) => {
|
||||
console.log(path);
|
||||
});
|
||||
|
||||
var path = when.sync("cat");
|
||||
var path = which.sync("cat");
|
||||
console.log(path);
|
||||
|
||||
Reference in New Issue
Block a user