mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-01 19:24:27 +00:00
bluebird: Make Thenable an alias to the builtin PromiseLike.
This commit is contained in:
@@ -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