Replies: 2 comments
-
This code comes from TypeScript namespace compilation. (example) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, I'll check it out |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Code
No response
Reproduction Steps
I replaced babel with swc for transcoding,reported a mistake

I went to swc's issue to find this problem:
swc-project/swc#6307
Actual (Problematic) Behavior

I know that the purpose here is to prevent errors caused by Color being undefined, but in this file, Color is not possible to be undefinedExpected Behavior
I hope you can remove the default value assignment here
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions