From 2326b6ce7d9135dc350d2005f75bf89584750d39 Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Wed, 29 Oct 2025 21:43:54 -0700 Subject: rendering works --- src/lib/core/common.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/core/common.ts') diff --git a/src/lib/core/common.ts b/src/lib/core/common.ts index b5f494e..8cff899 100644 --- a/src/lib/core/common.ts +++ b/src/lib/core/common.ts @@ -38,7 +38,12 @@ export type ASTNode< Type extends NodeType = NodeType, Name extends string = string, Value extends any = any, - Children extends ASTNode[] = ASTNode[] + Children extends readonly ASTNode[] = readonly ASTNode< + NodeType, + string, + any, + any + >[] > = { type: Type; name: Name; -- cgit v1.2.3-70-g09d2