Skip to content

Commit 407fc2d

Browse files
committed
chore: change default value of useTypeImports to true
1 parent 4799f80 commit 407fc2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/typescript/src/core/getUsedImports.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const getUsedImports = (
2020
responses: string;
2121
utils: string;
2222
},
23-
useTypeImports = false
23+
useTypeImports = true
2424
): { keys: string[]; nodes: ts.Node[] } => {
2525
const imports: Record<
2626
keyof typeof files,
@@ -93,7 +93,7 @@ export const getUsedImports = (
9393
return createNamedImport(
9494
Array.from(i.imports.values()),
9595
`./${i.from}`,
96-
useTypeImports || true
96+
useTypeImports ?? true
9797
);
9898
}
9999
}),

0 commit comments

Comments
 (0)