diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-27 11:06:46 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-27 11:08:39 +0100 |
| commit | 9a945c589891ab00b1b8ef5280e31e97a4f29435 (patch) | |
| tree | 5b4ccffa3ef09780a7b9aba20c52afe371669281 /src/main/java | |
| parent | bc817ec7c383a015daf015626ef71f6d071b519c (diff) | |
Generate name for TypeScript symbols
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/org/zwobble/hobgoblin/compiler/output/generators/typescripttypes/TypescriptTypesGenerator.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/zwobble/hobgoblin/compiler/output/generators/typescripttypes/TypescriptTypesGenerator.java b/src/main/java/org/zwobble/hobgoblin/compiler/output/generators/typescripttypes/TypescriptTypesGenerator.java index 353f07b..508de55 100644 --- a/src/main/java/org/zwobble/hobgoblin/compiler/output/generators/typescripttypes/TypescriptTypesGenerator.java +++ b/src/main/java/org/zwobble/hobgoblin/compiler/output/generators/typescripttypes/TypescriptTypesGenerator.java @@ -369,8 +369,7 @@ public class TypescriptTypesGenerator implements Generator { private TypescriptExpression generateSymbol(TypescriptIdentifier name) { return new TypescriptCall( TypescriptTypes.SYMBOL, - // TODO: add type name as string - List.of() + List.of(new TypescriptStringLiteral(name.value())) ); } } |
