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

Commit 3e85549

Browse files
Copilotymc9
andcommitted
Fix: Change ModelResult/TypeDefResult imports to type-only imports in ts-schema-generator
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
1 parent 541a133 commit 3e85549

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,18 +1359,18 @@ export class TsSchemaGenerator {
13591359
ts.factory.createImportDeclaration(
13601360
undefined,
13611361
ts.factory.createImportClause(
1362-
false,
1362+
true,
13631363
undefined,
13641364
ts.factory.createNamedImports([
13651365
ts.factory.createImportSpecifier(
1366-
true,
1366+
false,
13671367
undefined,
13681368
ts.factory.createIdentifier(`ModelResult as $ModelResult`),
13691369
),
13701370
...(model.declarations.some(isTypeDef)
13711371
? [
13721372
ts.factory.createImportSpecifier(
1373-
true,
1373+
false,
13741374
undefined,
13751375
ts.factory.createIdentifier(`TypeDefResult as $TypeDefResult`),
13761376
),

0 commit comments

Comments
 (0)