Skip to content

Commit ef5131f

Browse files
committed
fix: Write the types to the end
1 parent 29e1a62 commit ef5131f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/dependency.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ makeSerializable(
3636
class DocGenTemplate extends NullDependency.Template {
3737
apply(dependency: NullDependency, source: ReplaceSource): void {
3838
if (dependency.codeBlock) {
39-
source.insert(0, dependency.codeBlock);
39+
// Insert to the end
40+
source.insert(Infinity, dependency.codeBlock);
4041
}
4142
}
4243
}

0 commit comments

Comments
 (0)