mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-23 11:42:36 +08:00
fix typo... hehe :P
This commit is contained in:
1 parent
b55b894558
commit
f3617cc522
1 file changed
+3
-3
@@ -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