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

avro-ts: DeprecationWarning "createPropertySignature" #137

Open
skanaar opened this issue Jan 23, 2023 · 2 comments
Open

avro-ts: DeprecationWarning "createPropertySignature" #137

skanaar opened this issue Jan 23, 2023 · 2 comments

Comments

@skanaar
Copy link

skanaar commented Jan 23, 2023

This project is super useful for us! Thank you for providing it.

However there is some deprecation warnings being logged when calling toTypeScript which would be nice to get rid of.

DeprecationWarning: 'createPropertySignature' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
DeprecationWarning: 'createInterfaceDeclaration' has been deprecated since v4.8.0. Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter.
DeprecationWarning: 'createTypeAliasDeclaration' has been deprecated since v4.8.0. Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter.
DeprecationWarning: 'createModuleDeclaration' has been deprecated since v4.8.0. Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter.

@ivank
Copy link
Contributor

ivank commented Jan 25, 2023

KK will take a look

@ghost
Copy link

ghost commented Aug 7, 2023

Related Stackoverflow post regarding this error. The error isnt quite the same, but the format is.

https://stackoverflow.com/questions/73507563/deprecationwarning-getmutableclone-has-been-deprecated-since-v4-0-0-use-an-a

From the replies it seems to imply that there are a number of typescript features which have been deprecated.

I have recently attempted to upgrade my Typescript version from 4.5.2 to 4.9.4 and am now receiving the same warnings as above.

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

2 participants