diff --git a/app/src/data/entities/EntityTypescript.ts b/app/src/data/entities/EntityTypescript.ts index b7e2b2c..6278a83 100644 --- a/app/src/data/entities/EntityTypescript.ts +++ b/app/src/data/entities/EntityTypescript.ts @@ -50,7 +50,7 @@ export class EntityTypescript { indentWidth: 2, indentChar: " ", entityCommentMultiline: true, - fieldCommentMultiline: false, + fieldCommentMultiline: true, }; } @@ -82,7 +82,7 @@ export class EntityTypescript { } typeName(name: string) { - return autoFormatString(name); + return autoFormatString(name).replace(/ /g, ""); } fieldTypesToString(type: TEntityTSType, opts?: { ignore_fields?: string[]; indent?: number }) {