Skip to content
Permalink
Browse files
feat(experimental): allow const for ref sugar declarations
  • Loading branch information
yyx990803 committed Dec 10, 2021
1 parent d955cfa commit 9823bd95d11f22f0ae53f5e0b705a21b6e6e8859
Showing 1 changed file with 0 additions and 3 deletions.
@@ -217,9 +217,6 @@ export function transformAST(
statement: VariableDeclaration
) {
excludedIds.add(call.callee as Identifier)
if (statement.kind !== 'let') {
error(`${method}() bindings can only be declared with let`, call)
}
if (method === TO_VAR_SYMBOL) {
// $
// remove macro

0 comments on commit 9823bd9

Please sign in to comment.