Skip to content

Commit 7d3f029

Browse files
committed
feat(example): create index to export models
Prevent some model not being initialized
1 parent 9ab40b6 commit 7d3f029

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

example/src/models/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export { default as Article } from "./article.model";
2+
3+
export { default as Comment } from "./comment.model";
4+
5+
export { default as People } from "./people.model";
6+

0 commit comments

Comments
 (0)