Skip to content

Commit 0b65f8b

Browse files
NullVoxPopuliclaude
andcommitted
Fix type error in Child template options
Add empty scope to satisfy the ExplicitTemplateOnlyOptions overload when neither eval nor component is provided. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a85ed87 commit 0b65f8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@glimmer-workspace/integration-tests/test/keywords/fn-runtime-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class KeywordFn extends RenderTest {
5959

6060
const Child = template('<button {{on "click" @callback}}>Click</button>', {
6161
strictMode: true,
62+
scope: () => ({}),
6263
});
6364

6465
const compiled = template('<Child @callback={{fn greet "hello"}} />', {

0 commit comments

Comments
 (0)