From 94ca8de6bc11f194bdf3a0415aad2eb66e222c45 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 4 Sep 2026 15:22:06 +0100 Subject: Add custom code to TypeScript output --- examples/09-list/output/typescript/src/point.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'examples/09-list') 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; public constructor(points: ReadonlyArray) { 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 -- cgit v1.2.3