diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-08-30 13:36:30 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-08-30 13:36:30 +0100 |
| commit | d9945c3fd0dfa85bf0ca2bbb3af35af4b25b0fe7 (patch) | |
| tree | 4fe9d81fdc6b70edd195ec85d536230dcab4a69d /hobgoblin | |
| parent | f917d90874048ae27efed68e3f5f8f960c3e6935 (diff) | |
Support static field declarations in TypeScript AST
Diffstat (limited to 'hobgoblin')
| -rw-r--r-- | hobgoblin/src/output/lang/typescript/ast.hob | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hobgoblin/src/output/lang/typescript/ast.hob b/hobgoblin/src/output/lang/typescript/ast.hob index 1bf80af..28efeb9 100644 --- a/hobgoblin/src/output/lang/typescript/ast.hob +++ b/hobgoblin/src/output/lang/typescript/ast.hob @@ -48,6 +48,7 @@ struct TypescriptClassConstructor { struct TypescriptClassFieldDeclaration { field name: TypescriptIdentifier; field visibility: TypescriptVisibility; + field isStatic: Bool; field type: Option[TypescriptExpression]; field initialValue: Option[TypescriptExpression]; } |
