File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ function extractFunctionSignature(declaration: string): FunctionSignature {
203203 debugLog ( undefined , 'signature-after-params' , `Remaining content: ${ rest } ` )
204204
205205 // Extract return type
206- const { returnType } = extractReturnType ( rest , cleanDeclaration )
206+ const { returnType } = extractReturnType ( rest )
207207 debugLog ( undefined , 'signature-return' , `Extracted return type: ${ returnType } ` )
208208
209209 const signature = {
@@ -710,8 +710,9 @@ function createImportTrackingState(): ImportTrackingState {
710710 valueAliases : new Map ( ) ,
711711 usedTypes : new Set ( ) ,
712712 usedValues : new Set ( ) ,
713- exportedValues : null ,
714- defaultExportValue : null ,
713+ exportedValues : new Set ( ) ,
714+ importSources : new Map ( ) ,
715+ defaultExportValue : undefined ,
715716 }
716717}
717718
You can’t perform that action at this time.
0 commit comments