File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( {
You can’t perform that action at this time.
0 commit comments