We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294ee81 commit 4cf18c5Copy full SHA for 4cf18c5
src/extract.ts
@@ -6,15 +6,6 @@ interface ProcessedMethod {
6
signature: string
7
}
8
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
-
18
function cleanParameterTypes(params: string): string {
19
if (!params.trim())
20
return ''
0 commit comments