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 following code produces a SyntaxError: Identifier '_Bar' has already been declared (needs the experimentalDecorators TS compiler option turned on):
The issue only occurs when a decorator is applied to a class and a (non-empty) namespace shares the class' name. The following is the tsc-transpiled JS, which does not exhibit the issue:
Version: Deno 2.1.7
The following code produces a
SyntaxError: Identifier '_Bar' has already been declared
(needs theexperimentalDecorators
TS compiler option turned on):The issue only occurs when a decorator is applied to a class and a (non-empty) namespace shares the class' name. The following is the
tsc
-transpiled JS, which does not exhibit the issue:The text was updated successfully, but these errors were encountered: