Skip to content

Conversation

frigus02
Copy link
Contributor

Fix an incorrect check for the body parameter of the deprecated overloads for create/updateConstructorDeclaration, which made them throw a type error at runtime.

Fixes #50259

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Aug 10, 2022
@frigus02
Copy link
Contributor Author

Was fixed in #50343

@rbuckton
Copy link
Contributor

Ah, thanks! I'm sorry I didn't see this before submitting my PR.

@frigus02 frigus02 deleted the ts48-updatectordecl branch August 22, 2022 15:26
@frigus02
Copy link
Contributor Author

No worries. I'm just happy about the fix. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Deprecated decorator factory APIs throw "Invalid arguments" runtime error

3 participants