-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace many Thenable interfaces with PromiseLike #17251
Comments
Can I ask what's the motivation behind changing it? |
Mostly just for deduplication. But we also want to avoid incorrectly authored interfaces, and correctly writing |
Related #10892 |
Is the issue SeleniumHQ/selenium#4391 related to this issue? |
* [hellojs] Add/modify tests for latest version * [hellojs] Update definition to latest version Modify interfaces to reflect version 1.15.1 codebase. Add definition for hello.util. Simplify thenable definition. * [hellojs] Add missing method definition Include api() definition when calling with options object. * [hellojs] Add tslint.json and fix linting errors * [hellojs] Use TypeScript 2.3 Set TypeScript version to 2.3 to avoid errors with object-type. * [hellojs] Switch to PromiseLike #17251 * [hellojs] Remove unused interface * [hellojs] Rename namespace and add export Add default export for static hello-object. Rename namespace to hello so that the namespace as well as the hello-object will be exported. * [hellojs] Remove redundant 'export' keyword
PR for highland here: #36140 |
Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the |
The following packages define a
Thenable
interface:bluebird
(bluebird: MakeThenable
an alias to the builtinPromiseLike
. #17245)consul
ember
es6-promise
falcor
hellojs
highland
html2canvas
jquery
selenium-webdriver
rsvp
tspromise
typescript-deferred
when
Can these all be replaced with
PromiseLike
?The text was updated successfully, but these errors were encountered: