mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Update Q.d.ts
Add nfapply defintion. See API reference here: https://github.com/kriskowal/q/wiki/API-Reference
This commit is contained in:
1 parent
4cb28c018b
commit
1503788c8d
1 file changed
+1
@@ -209,6 +209,7 @@ declare module Q {
|
||||
|
||||
export function nfbind<T>(nodeFunction: Function, ...args: any[]): (...args: any[]) => Promise<T>;
|
||||
export function nfcall<T>(nodeFunction: Function, ...args: any[]): Promise<T>;
|
||||
export function nfapply<T>(nodeFunction: Function, args: any[]): Promise<T>;
|
||||
|
||||
export function ninvoke<T>(nodeModule: any, functionName: string, ...args: any[]): Promise<T>;
|
||||
export function nsend<T>(nodeModule: any, functionName: string, ...args: any[]): Promise<T>;
|
||||
|
||||
Reference in new issue
Block a user