bluebird: Make Thenable an alias to the builtin PromiseLike.

This commit is contained in:
Andy Hanson
2017-06-16 07:08:11 -07:00
parent 04221e07e2
commit c15e214e5a
38 changed files with 186 additions and 219 deletions

View File

@@ -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();
}); */