add node def reference

This commit is contained in:
Basarat Ali Syed
2013-12-12 10:06:42 +11:00
parent 087bbaa195
commit dd476daddd

View File

@@ -3,6 +3,8 @@
// Definitions by: Dan Spencer <https://github.com/danrspencer>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///<reference path="../node/node.d.ts"/>
declare module "promptly" {
interface Callback {
@@ -31,4 +33,4 @@ declare module "promptly" {
export function choose(message: string, choices: string[], fn?: Callback);
export function choose(message: string, choices: string[], opts: Options, fn?: Callback);
}
}