mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
add node def reference
This commit is contained in:
4
promptly/promptly.d.ts
vendored
4
promptly/promptly.d.ts
vendored
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user