Skip to content

Comments

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

Merged
weswigham merged 4 commits intomicrosoft:masterfrom
a-tarasyuk:bug/36989
Feb 27, 2020
Merged

fix(36989): 'async' modifier cannot be used in an ambient context.ts#37010
weswigham merged 4 commits intomicrosoft:masterfrom
a-tarasyuk:bug/36989

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. <alexander.tarasyuk@outlook.com>
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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