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

Fix Typescript deprecation #1

Open
amanteaux opened this issue Dec 27, 2022 · 0 comments
Open

Fix Typescript deprecation #1

amanteaux opened this issue Dec 27, 2022 · 0 comments

Comments

@amanteaux
Copy link
Member

Since Typescript 4.8, usage of createGetAccessorDeclaration and updateClassDeclaration has been deprecated. It needs to be replaced.

Currently, running the transformer with TS >= 4.8 generate these warnings:

DeprecationWarning: 'createGetAccessorDeclaration' has been deprecated since v4.8.0. Decorators have been combined with modifiers. Callers should switch to an overload that does not accept a
 'decorators' parameter.
DeprecationWarning: 'updateClassDeclaration' has been deprecated since v4.8.0. Decorators have been combined with modifiers. Callers should switch to an overload that does not accept a 'deco
rators' parameter.
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

No branches or pull requests

1 participant