From 83f64c3f47c95b746b2bb14ef26ee5533e5ed579 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 30 Aug 2026 09:43:56 +0100 Subject: Add body to constructors in TypeScript AST --- hobgoblin/src/output/lang/typescript/ast.hob | 1 + 1 file changed, 1 insertion(+) (limited to 'hobgoblin/src') diff --git a/hobgoblin/src/output/lang/typescript/ast.hob b/hobgoblin/src/output/lang/typescript/ast.hob index ec888da..a889fb3 100644 --- a/hobgoblin/src/output/lang/typescript/ast.hob +++ b/hobgoblin/src/output/lang/typescript/ast.hob @@ -36,6 +36,7 @@ sum TypescriptClassElement { struct TypescriptClassConstructor { field params: List[TypescriptParam]; + field body: List[TypescriptStatement]; } struct TypescriptClassFieldDeclaration { -- cgit v1.2.3