Skip to content

Support async & await over ES5 #4776

Closed
Closed
@SergioMorchon

Description

@SergioMorchon

Hi all.

If I target ES5, with noLib option and manually pointing to lib.es6.d.ts, with a polyfill for es-6 Promise, It would be to be able to use async & await. Even with a limited transpilation (i.e. not supporting yield).

Activity

danquirk

danquirk commented on Sep 14, 2015

@danquirk
Member

I think this might just fall under issues like #4389, albeit one of the more important cases today. Agree/disagree?

SergioMorchon

SergioMorchon commented on Sep 15, 2015

@SergioMorchon
Author

Definitely agree!
Sorry for duplicate it. I've searched any similar issue but didn't find anything.

Thank you @danquirk

danquirk

danquirk commented on Sep 15, 2015

@danquirk
Member

Great, don't worry about filing dupes (although I'm quite happy if you do a cursory search like you did :)), all feedback is good, we'll always route/triage it ourselves as necessary.

locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @SergioMorchon@danquirk

        Issue actions

          Support async & await over ES5 · Issue #4776 · microsoft/TypeScript