mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
- Added info to definition
This commit is contained in:
7
tspromise/tspromise.d.ts
vendored
7
tspromise/tspromise.d.ts
vendored
@@ -1,4 +1,9 @@
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
// Type definitions for tspromise 0.0.4
|
||||
// Project: https://github.com/soywiz/tspromise
|
||||
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
declare class Thenable<T> {
|
||||
then<TR>(onFulfilled: (value: T) => Thenable<TR>, onRejected?: (error: Error) => TR): Thenable<TR>;
|
||||
then<TR>(onFulfilled: (value: T) => Thenable<TR>, onRejected?: (error: Error) => void): Thenable<TR>;
|
||||
|
||||
Reference in New Issue
Block a user