Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Nov 4, 2024
1 parent 1511b1a commit e7d9d4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function extractFunctionSignature(declaration: string): FunctionSignature {
debugLog(undefined, 'signature-after-params', `Remaining content: ${rest}`)

// Extract return type
const { returnType } = extractReturnType(rest, cleanDeclaration)
const { returnType } = extractReturnType(rest)
debugLog(undefined, 'signature-return', `Extracted return type: ${returnType}`)

const signature = {
Expand Down Expand Up @@ -710,8 +710,9 @@ function createImportTrackingState(): ImportTrackingState {
valueAliases: new Map(),
usedTypes: new Set(),
usedValues: new Set(),
exportedValues: null,
defaultExportValue: null,
exportedValues: new Set(),
importSources: new Map(),
defaultExportValue: undefined,
}
}

Expand Down

0 comments on commit e7d9d4f

Please sign in to comment.