(name: string, text: string)
| 2819 | } |
| 2820 | |
| 2821 | function signatureAlias(name: string, text: string): string { |
| 2822 | const localName = signatureLocalName(name) |
| 2823 | return `declare const ${localName}: ${text} |
| 2824 | export { ${localName} as ${signatureExportName(name)} }` |
| 2825 | } |
| 2826 | |
| 2827 | function signatureParameterDeclaration(parameter: ts.Symbol): ts.ParameterDeclaration | undefined { |
| 2828 | const declaration = parameter.valueDeclaration ?? parameter.declarations?.[0] |
no test coverage detected