summaryrefslogtreecommitdiff
path: root/examples/01-struct
diff options
context:
space:
mode:
Diffstat (limited to 'examples/01-struct')
-rw-r--r--examples/01-struct/output/typescript/src/point.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/01-struct/output/typescript/src/point.ts b/examples/01-struct/output/typescript/src/point.ts
index fccae01..a0bc777 100644
--- a/examples/01-struct/output/typescript/src/point.ts
+++ b/examples/01-struct/output/typescript/src/point.ts
@@ -1,5 +1,8 @@
// Generated by hobgoblin.
+// Custom area start: imports
+// Custom area end: imports
+
/**
* A straight line from one point to another.
*/
@@ -12,6 +15,9 @@ class Line {
this.start = start;
this.end = end;
}
+
+ // Custom area start: Line, body
+ // Custom area end: Line, body
}
export {Line};
@@ -28,6 +34,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