Skip to content

Commit fe87de7

Browse files
committed
feat(generators/with-postgres-typeorm): set comp interface name prop optional
1 parent 8e5e0f9 commit fe87de7

File tree

1 file changed

+1
-1
lines changed
  • generators/with-postgres-typeorm/templates/<%= compNameParamCasePlural %>

1 file changed

+1
-1
lines changed

generators/with-postgres-typeorm/templates/<%= compNameParamCasePlural %>/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interface <%= compNamePascalCase %> {
22
readonly id: number;
3-
readonly name: string;
3+
readonly name?: string;
44
// TODO: add more props
55
}
66

0 commit comments

Comments
 (0)