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.
undefined
1 parent 8db58bb commit 6c4e747Copy full SHA for 6c4e747
src/compiler/utilities.ts
@@ -4700,7 +4700,7 @@ namespace ts {
4700
return identifier.length >= 3 && identifier.charCodeAt(0) === CharacterCodes._ && identifier.charCodeAt(1) === CharacterCodes._ && identifier.charCodeAt(2) === CharacterCodes._ ? identifier.substr(1) : identifier;
4701
}
4702
4703
- export function getNameOfDeclaration(declaration: Declaration): DeclarationName {
+ export function getNameOfDeclaration(declaration: Declaration): DeclarationName | undefined {
4704
if (!declaration) {
4705
return undefined;
4706
0 commit comments