There was an error while loading. Please reload this page.
1 parent d955cfa commit 9823bd9Copy full SHA for 9823bd9
packages/ref-transform/src/refTransform.ts
@@ -217,9 +217,6 @@ export function transformAST(
217
statement: VariableDeclaration
218
) {
219
excludedIds.add(call.callee as Identifier)
220
- if (statement.kind !== 'let') {
221
- error(`${method}() bindings can only be declared with let`, call)
222
- }
223
if (method === TO_VAR_SYMBOL) {
224
// $
225
// remove macro
0 commit comments