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/02-struct-singleton/output/typescript/src/point.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'examples/02-struct-singleton') 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 -- cgit v1.2.3