mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
bluebird: Make Thenable an alias to the builtin PromiseLike.
This commit is contained in:
Vendored
+1
@@ -2,6 +2,7 @@
|
||||
// Project: https://github.com/joeferner/node-java
|
||||
// Definitions by: Jim Lloyd <https://github.com/jimlloyd>, Kentaro Teramoto <https://github.com/hrl7>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
///<reference types="bluebird"/>
|
||||
|
||||
import java = require('java');
|
||||
import BluePromise = require('bluebird');
|
||||
|
||||
@@ -9,7 +7,7 @@ java.asyncOptions = {
|
||||
promiseSuffix: 'P',
|
||||
promisify: BluePromise.promisify
|
||||
};
|
||||
// todo: figure out why promise doesn't work here
|
||||
// todo: figure out why promise doesn't work here
|
||||
/* java.registerClientP((): Promise<void> => {
|
||||
return BluePromise.resolve();
|
||||
}); */
|
||||
|
||||
Reference in New Issue
Block a user