Skip to content

TypeScript 5 Decorators #2132

Closed Answered by erayhanoglu
angelhdzdev asked this question in Q&A
Discussion options

You must be logged in to vote

Update

Switched to tsx and it works. pnpx tsx src/main.ts.

tsx uses eslint and do not support emitDecoratorMetadata.

https://tsx.is/typescript#compiler-limitations

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@erayhanoglu
Comment options

Answer selected by angelhdzdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants