Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit 2d2b785

Browse files
committed
revert: enumStatements check
1 parent 5007b2c commit 2d2b785

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/sdk/src/ts-schema-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ export class TsSchemaGenerator {
14821482
const printer = ts.createPrinter();
14831483
const enumsOutputFile = path.join(options.outDir, 'enums.ts');
14841484

1485-
if (enumStatements.length > 0) {
1485+
if (enums.length > 0) {
14861486
this.generateBannerComments(enumStatements);
14871487

14881488
const enumsSourceFile = ts.createSourceFile(enumsOutputFile, '', ts.ScriptTarget.ESNext, false, ts.ScriptKind.TS);

0 commit comments

Comments
 (0)