Skip to content

Commit 6c9e509

Browse files
committed
chore: wip
1 parent 2b87a9b commit 6c9e509

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/extract.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ export function parseFunctionDeclaration(declaration: string): FunctionParseStat
672672
}
673673

674674
// Extract return type, handling Promise types correctly
675+
// eslint-disable-next-line regexp/no-super-linear-backtracking
675676
const returnMatch = cleanDeclaration.match(/^:\s*(.+?)(?:$|\{)/)
676677
if (returnMatch) {
677678
let returnType = returnMatch[1].trim()

0 commit comments

Comments
 (0)