mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-26 10:43:51 -05:00
Update misspelling 'identifer' to 'identifier' (#30894)
* fix typo - identifer to identifier * fix typo - identifer to identifier
This commit is contained in:
committed by
Ryan Cavanaugh
parent
4574c7a375
commit
e951455215
@@ -2843,7 +2843,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
// A reserved member name starts with two underscores, but the third character cannot be an underscore
|
||||
// or the @ symbol. A third underscore indicates an escaped form of an identifer that started
|
||||
// or the @ symbol. A third underscore indicates an escaped form of an identifier that started
|
||||
// with at least two underscores. The @ character indicates that the name is denoted by a well known ES
|
||||
// Symbol instance.
|
||||
function isReservedMemberName(name: __String) {
|
||||
|
||||
@@ -1912,8 +1912,8 @@ namespace ts.Completions {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const validIdentiferResult: CompletionEntryDisplayNameForSymbol = { name, needsConvertPropertyAccess: false };
|
||||
if (isIdentifierText(name, target)) return validIdentiferResult;
|
||||
const validIdentifierResult: CompletionEntryDisplayNameForSymbol = { name, needsConvertPropertyAccess: false };
|
||||
if (isIdentifierText(name, target)) return validIdentifierResult;
|
||||
switch (kind) {
|
||||
case CompletionKind.MemberLike:
|
||||
return undefined;
|
||||
@@ -1926,7 +1926,7 @@ namespace ts.Completions {
|
||||
return name.charCodeAt(0) === CharacterCodes.space ? undefined : { name, needsConvertPropertyAccess: true };
|
||||
case CompletionKind.None:
|
||||
case CompletionKind.String:
|
||||
return validIdentiferResult;
|
||||
return validIdentifierResult;
|
||||
default:
|
||||
Debug.assertNever(kind);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user