You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ES decorators has some breaking changes compared to the legacy experimental decorators implementation.
As this library (we find it very useful BTW) relies on decorators i'm not entirely sure what, if anything, will need to change but its worth a review to check.
I suspect at some point the old decorators will be deprecated in favour of the standard version.
The text was updated successfully, but these errors were encountered:
At the moment, you still need "experimentalDecorators": true and "emitDecoratorMetadata": true in your tsconfig.json.
It will work with newer versions of typescript, but the new decorator syntax would not, these are at the moment mutually exclusive.
If you are using the new style decorators of typescript 5, you may want to move the JSON validation to a different module which do not.
Currently, while exists in the interface, the new decorators bear no metadata about properties, but the documentation suggests this may change in the future.
Until such time arrives, if it ever does, this issue cannot be resolved, and therefore is now closed.
Decorators has reached stage 3 and will/has been implemented for v5 of TypeScript which is set to be released next month.
microsoft/TypeScript#50820
The ES decorators has some breaking changes compared to the legacy experimental decorators implementation.
As this library (we find it very useful BTW) relies on decorators i'm not entirely sure what, if anything, will need to change but its worth a review to check.
I suspect at some point the old decorators will be deprecated in favour of the standard version.
The text was updated successfully, but these errors were encountered: