From 211c5d06bef959893f1e51d17b775f08d1aaa2a0 Mon Sep 17 00:00:00 2001 From: KazariEX <1364035137@qq.com> Date: Tue, 31 Dec 2024 23:18:01 +0800 Subject: [PATCH] fix: `$attrs` --- packages/language-core/lib/codegen/template/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/language-core/lib/codegen/template/index.ts b/packages/language-core/lib/codegen/template/index.ts index 8e94d5bade..565cb4f87a 100644 --- a/packages/language-core/lib/codegen/template/index.ts +++ b/packages/language-core/lib/codegen/template/index.ts @@ -113,6 +113,7 @@ function* generateInheritedAttrs( if (ctx.bindingAttrLocs.length) { yield `[`; for (const loc of ctx.bindingAttrLocs) { + yield `__VLS_special.`; yield [ loc.source, 'template',