(name: string, text: string)
| 2889 | } |
| 2890 | |
| 2891 | function signatureAlias(name: string, text: string): string { |
| 2892 | const localName = signatureLocalName(name) |
| 2893 | return `declare const ${localName}: ${text} |
| 2894 | export { ${localName} as ${signatureExportName(name)} }` |
| 2895 | } |
| 2896 | |
| 2897 | function signatureParameterDeclaration(parameter: ts.Symbol): ts.ParameterDeclaration | undefined { |
| 2898 | const declaration = parameter.valueDeclaration ?? parameter.declarations?.[0] |
no test coverage detected