Skip to content

Commit dc7dc51

Browse files
committed
chore: lint
1 parent 48d45c2 commit dc7dc51

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

lib/process-document.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -629,16 +629,16 @@ export async function processOpenApiDocument(
629629
const namedImports = [...new Set([...inputTypes, ...outputTypes])];
630630

631631
if (namedImports.length > 0) {
632-
mainFile.addImportDeclaration({
633-
moduleSpecifier: typesModuleSpecifier,
634-
namedImports: namedImports
635-
.filter(<T>(t: T | 'void'): t is T => t !== 'void')
636-
.map((t) => ({
637-
name: t.getName(),
638-
}))
639-
.sort((a, b) => a.name.localeCompare(b.name)),
640-
isTypeOnly: true,
641-
});
632+
mainFile.addImportDeclaration({
633+
moduleSpecifier: typesModuleSpecifier,
634+
namedImports: namedImports
635+
.filter(<T>(t: T | 'void'): t is T => t !== 'void')
636+
.map((t) => ({
637+
name: t.getName(),
638+
}))
639+
.sort((a, b) => a.name.localeCompare(b.name)),
640+
isTypeOnly: true,
641+
});
642642
}
643643

644644
const clientClassDeclaration = mainFile.addClass({

0 commit comments

Comments
 (0)