Skip to content

Commit 4cf18c5

Browse files
committed
chore: wip
1 parent 294ee81 commit 4cf18c5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/extract.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ interface ProcessedMethod {
66
signature: string
77
}
88

9-
function cleanDeclaration(declaration: string): string {
10-
return declaration
11-
.replace(/\r\n/g, '\n') // Normalize line endings
12-
.replace(/\/\*[\s\S]*?\*\//g, '') // Remove multi-line comments
13-
.replace(/\/\/.*/g, '') // Remove single-line comments
14-
.replace(/\s+/g, ' ') // Normalize whitespace
15-
.trim()
16-
}
17-
189
function cleanParameterTypes(params: string): string {
1910
if (!params.trim())
2011
return ''

0 commit comments

Comments
 (0)