Skip to content

Commit 02b475f

Browse files
committed
chore: fix format PR
1 parent 774a93a commit 02b475f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/configuration.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ export class CodeGenConfig {
293293
*/
294294
EnumFieldDescription: (description: any) => {
295295
if (description) {
296-
return ` /** ${description} */`
296+
return ` /** ${description} */`;
297297
} else {
298-
return '';
298+
return "";
299299
}
300300
},
301301
/**
@@ -309,11 +309,12 @@ export class CodeGenConfig {
309309
EnumFieldsWrapper: (contents: Record<string, unknown>[]) =>
310310
lodash
311311
.map(contents, ({ key, value, description }) => {
312-
313312
return [
314313
this.Ts.EnumFieldDescription(description),
315-
` ${this.Ts.EnumField(key, value)}`
316-
].filter(Boolean).join('\n')
314+
` ${this.Ts.EnumField(key, value)}`,
315+
]
316+
.filter(Boolean)
317+
.join("\n");
317318
})
318319
.join(",\n"),
319320
/**

0 commit comments

Comments
 (0)