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 /examples/04-enum | |
| parent | bc817ec7c383a015daf015626ef71f6d071b519c (diff) | |
Generate name for TypeScript symbols
Diffstat (limited to 'examples/04-enum')
| -rw-r--r-- | examples/04-enum/output/typescript/src/numbers.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/04-enum/output/typescript/src/numbers.ts b/examples/04-enum/output/typescript/src/numbers.ts index 14c8905..cbe9ed1 100644 --- a/examples/04-enum/output/typescript/src/numbers.ts +++ b/examples/04-enum/output/typescript/src/numbers.ts @@ -3,11 +3,11 @@ // Custom area start: imports // Custom area end: imports -const SmallNumber$Zero: unique symbol = Symbol(); +const SmallNumber$Zero: unique symbol = Symbol("Zero"); -const SmallNumber$One: unique symbol = Symbol(); +const SmallNumber$One: unique symbol = Symbol("One"); -const SmallNumber$Two: unique symbol = Symbol(); +const SmallNumber$Two: unique symbol = Symbol("Two"); const SmallNumber = { Zero: SmallNumber$Zero as typeof SmallNumber$Zero, |
