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/09-list | |
| parent | 8b1ee9a26a378a4456e800be314ab765be94b368 (diff) | |
Add custom code to TypeScript output
Diffstat (limited to 'examples/09-list')
| -rw-r--r-- | examples/09-list/output/typescript/src/point.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/09-list/output/typescript/src/point.ts b/examples/09-list/output/typescript/src/point.ts index feff2b3..104ea1e 100644 --- a/examples/09-list/output/typescript/src/point.ts +++ b/examples/09-list/output/typescript/src/point.ts @@ -1,11 +1,17 @@ // Generated by hobgoblin. +// Custom area start: imports +// Custom area end: imports + class Path { public readonly points: ReadonlyArray<Point>; public constructor(points: ReadonlyArray<Point>) { this.points = points; } + + // Custom area start: Path, body + // Custom area end: Path, body } export {Path}; @@ -19,6 +25,12 @@ class Point { this.x = x; this.y = y; } + + // Custom area start: Point, body + // Custom area end: Point, body } export {Point}; + +// Custom area start: body +// Custom area end: body |
