Skip to content
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

Deprecate Thenable and alias to PromiseLike #239

Merged
merged 1 commit into from
Aug 26, 2024

Commits on Jul 30, 2024

  1. Deprecate Thenable and alias to PromiseLike

    TypeScript has a builtin type for promise-like values: PromiseLike.
    Thenable attempts to achieve the same result, but it has some
    compatibility issues.
    
    This change aliases Tnenable to PromiseLike, to make it compatible with
    the rest of the TypeScript ecosystem.
    
    Additionally this deprecates Thenable. There is no practical use case
    for it, but it is confusing to communicate something other than
    PromiseLike to users. All occurrences of Thenable were replaced with
    PromiseLike.
    remcohaszing committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    356d5dd View commit details
    Browse the repository at this point in the history