summaryrefslogtreecommitdiff
path: root/hobgoblin/src
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-09-27 10:50:05 +0100
committerMichael Williamson <mike@zwobble.org>2026-09-27 10:50:05 +0100
commitbfc98eb886211cbe7be00cee8db8e7ca1e6e13f5 (patch)
tree0bab5de1ba74b2c57708cf4bf671525f7d6edc8d /hobgoblin/src
parent44bc89a7d3c587d26110983a806f933ac3de4333 (diff)
Support type-only exports in TypeScript AST
Diffstat (limited to 'hobgoblin/src')
-rw-r--r--hobgoblin/src/output/lang/typescript/ast.hob1
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 a363fb0..ca37980 100644
--- a/hobgoblin/src/output/lang/typescript/ast.hob
+++ b/hobgoblin/src/output/lang/typescript/ast.hob
@@ -51,6 +51,7 @@ struct TypescriptExportNamesStatement {
struct TypescriptNamedExport {
field exportName: TypescriptIdentifier;
+ field typeOnly: Bool;
}
struct TypescriptExpressionStatement {