Skip to content

fix(36989): 'async' modifier cannot be used in an ambient context.ts #37010

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

Merged
merged 4 commits into from
Feb 27, 2020

Conversation

a-tarasyuk
Copy link
Contributor

Fixes #36989

@boneskull
Copy link
Contributor

Was hoping somebody could trigger a build of this.

@RyanCavanaugh
Copy link
Member

@rbuckton can you review? Looking at taking this into 3.8.3

@a-tarasyuk a-tarasyuk requested a review from weswigham February 27, 2020 07:52
@weswigham weswigham merged commit baff821 into microsoft:master Feb 27, 2020
@weswigham
Copy link
Member

@typescript-bot cherry-pick this into release-3.8

@typescript-bot
Copy link
Collaborator

typescript-bot commented Feb 27, 2020

Heya @weswigham, I've started to run the task to cherry-pick this into release-3.8 on this PR at c2b709a. You can monitor the build here.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Feb 27, 2020
Component commits:
4605c34 fix(36989): omit 'async' modifier for methods in declaration files.

c144e5e Merge branch 'master' of https://github.com/Microsoft/TypeScript into bug/36989

fb7fd42 remove useless condition

c2b709a Merge branch 'master' of https://github.com/Microsoft/TypeScript into bug/36989
@typescript-bot
Copy link
Collaborator

Hey @weswigham, I've opened #37072 for you.

weswigham pushed a commit that referenced this pull request Feb 27, 2020
Component commits:
4605c34 fix(36989): omit 'async' modifier for methods in declaration files.

c144e5e Merge branch 'master' of https://github.com/Microsoft/TypeScript into bug/36989

fb7fd42 remove useless condition

c2b709a Merge branch 'master' of https://github.com/Microsoft/TypeScript into bug/36989

Co-authored-by: Alexander T. <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'async' modifier cannot be used in an ambient context.ts
5 participants