Support class @Decorators #3032
Answered
by
aelbore
georgekrax
asked this question in
Q&A
-
Hello everyone, Does swc support Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
aelbore
Dec 13, 2021
Replies: 1 comment 7 replies
-
@georgekrax yes it support decorators you can try here in swc playground https://swc.rs/playground you can try this config {
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true,
"dynamicImport": true
},
"target": "es2020"
}
} |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
kwonoj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@georgekrax yes it support decorators you can try here in swc playground https://swc.rs/playground
you can try this config