diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-04 15:22:06 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-04 15:25:14 +0100 |
| commit | 94ca8de6bc11f194bdf3a0415aad2eb66e222c45 (patch) | |
| tree | 691279348a97897379c03d8c5f66ea63333babb1 /examples/02-struct-singleton | |
| parent | 8b1ee9a26a378a4456e800be314ab765be94b368 (diff) | |
Add custom code to TypeScript output
Diffstat (limited to 'examples/02-struct-singleton')
| -rw-r--r-- | examples/02-struct-singleton/output/typescript/src/point.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/02-struct-singleton/output/typescript/src/point.ts b/examples/02-struct-singleton/output/typescript/src/point.ts index f0761ce..19392a3 100644 --- a/examples/02-struct-singleton/output/typescript/src/point.ts +++ b/examples/02-struct-singleton/output/typescript/src/point.ts @@ -1,10 +1,19 @@ // Generated by hobgoblin. +// Custom area start: imports +// Custom area end: imports + class Origin { public static readonly INSTANCE = new Origin(); private constructor() { } + + // Custom area start: Origin, body + // Custom area end: Origin, body } export {Origin}; + +// Custom area start: body +// Custom area end: body |
