diff --git a/lib/tsserver.js b/lib/tsserver.js index 6489fac56ccd1..503e7fee6ea4f 100644 --- a/lib/tsserver.js +++ b/lib/tsserver.js @@ -33624,7 +33624,7 @@ var ts; return type; } // 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) { @@ -99911,9 +99911,9 @@ var ts; || ts.isKnownSymbol(symbol)) { return undefined; } - var validIdentiferResult = { name: name, needsConvertPropertyAccess: false }; + var validIdentifierResult = { name: name, needsConvertPropertyAccess: false }; if (ts.isIdentifierText(name, target)) - return validIdentiferResult; + return validIdentifierResult; switch (kind) { case 3 /* MemberLike */: return undefined; @@ -99926,7 +99926,7 @@ var ts; return name.charCodeAt(0) === 32 /* space */ ? undefined : { name: name, needsConvertPropertyAccess: true }; case 5 /* None */: case 4 /* String */: - return validIdentiferResult; + return validIdentifierResult; default: ts.Debug.assertNever(kind); } diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js index 83354bf1d1d3e..aa4e3b1a9df67 100644 --- a/lib/tsserverlibrary.js +++ b/lib/tsserverlibrary.js @@ -33623,7 +33623,7 @@ var ts; return type; } // 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) { @@ -100250,9 +100250,9 @@ var ts; || ts.isKnownSymbol(symbol)) { return undefined; } - var validIdentiferResult = { name: name, needsConvertPropertyAccess: false }; + var validIdentifierResult = { name: name, needsConvertPropertyAccess: false }; if (ts.isIdentifierText(name, target)) - return validIdentiferResult; + return validIdentifierResult; switch (kind) { case 3 /* MemberLike */: return undefined; @@ -100265,7 +100265,7 @@ var ts; return name.charCodeAt(0) === 32 /* space */ ? undefined : { name: name, needsConvertPropertyAccess: true }; case 5 /* None */: case 4 /* String */: - return validIdentiferResult; + return validIdentifierResult; default: ts.Debug.assertNever(kind); } diff --git a/lib/typescript.js b/lib/typescript.js index 1bf83511c5109..157d835bb16c8 100644 --- a/lib/typescript.js +++ b/lib/typescript.js @@ -33614,7 +33614,7 @@ var ts; return type; } // 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) { @@ -100241,9 +100241,9 @@ var ts; || ts.isKnownSymbol(symbol)) { return undefined; } - var validIdentiferResult = { name: name, needsConvertPropertyAccess: false }; + var validIdentifierResult = { name: name, needsConvertPropertyAccess: false }; if (ts.isIdentifierText(name, target)) - return validIdentiferResult; + return validIdentifierResult; switch (kind) { case 3 /* MemberLike */: return undefined; @@ -100256,7 +100256,7 @@ var ts; return name.charCodeAt(0) === 32 /* space */ ? undefined : { name: name, needsConvertPropertyAccess: true }; case 5 /* None */: case 4 /* String */: - return validIdentiferResult; + return validIdentifierResult; default: ts.Debug.assertNever(kind); } diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js index 06c7e3c046f40..ce8b2938f03e4 100644 --- a/lib/typescriptServices.js +++ b/lib/typescriptServices.js @@ -33614,7 +33614,7 @@ var ts; return type; } // 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) { @@ -100241,9 +100241,9 @@ var ts; || ts.isKnownSymbol(symbol)) { return undefined; } - var validIdentiferResult = { name: name, needsConvertPropertyAccess: false }; + var validIdentifierResult = { name: name, needsConvertPropertyAccess: false }; if (ts.isIdentifierText(name, target)) - return validIdentiferResult; + return validIdentifierResult; switch (kind) { case 3 /* MemberLike */: return undefined; @@ -100256,7 +100256,7 @@ var ts; return name.charCodeAt(0) === 32 /* space */ ? undefined : { name: name, needsConvertPropertyAccess: true }; case 5 /* None */: case 4 /* String */: - return validIdentiferResult; + return validIdentifierResult; default: ts.Debug.assertNever(kind); } diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js index 5951fd861998f..eaebe5e347f4e 100644 --- a/lib/typingsInstaller.js +++ b/lib/typingsInstaller.js @@ -33615,7 +33615,7 @@ var ts; return type; } // 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) { diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index e3fda9e6e42a8..10c0f927815d1 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -2836,7 +2836,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) { diff --git a/src/services/completions.ts b/src/services/completions.ts index 01324c9dc8439..9d569fbedde4f 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -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); } diff --git a/tests/baselines/reference/genericClassesRedeclaration.errors.txt b/tests/baselines/reference/genericClassesRedeclaration.errors.txt index abdea2b052bc6..197701c862470 100644 --- a/tests/baselines/reference/genericClassesRedeclaration.errors.txt +++ b/tests/baselines/reference/genericClassesRedeclaration.errors.txt @@ -1,8 +1,8 @@ tests/cases/compiler/genericClassesRedeclaration.ts(16,11): error TS2300: Duplicate identifier 'StringHashTable'. -tests/cases/compiler/genericClassesRedeclaration.ts(29,11): error TS2300: Duplicate identifier 'IdentiferNameHashTable'. +tests/cases/compiler/genericClassesRedeclaration.ts(29,11): error TS2300: Duplicate identifier 'IdentifierNameHashTable'. tests/cases/compiler/genericClassesRedeclaration.ts(42,9): error TS2374: Duplicate string index signature. tests/cases/compiler/genericClassesRedeclaration.ts(55,11): error TS2300: Duplicate identifier 'StringHashTable'. -tests/cases/compiler/genericClassesRedeclaration.ts(68,11): error TS2300: Duplicate identifier 'IdentiferNameHashTable'. +tests/cases/compiler/genericClassesRedeclaration.ts(68,11): error TS2300: Duplicate identifier 'IdentifierNameHashTable'. ==== tests/cases/compiler/genericClassesRedeclaration.ts (5 errors) ==== @@ -36,9 +36,9 @@ tests/cases/compiler/genericClassesRedeclaration.ts(68,11): error TS2300: Duplic public lookup(key: string): T; public remove(key: string): void; } - class IdentiferNameHashTable extends StringHashTable { - ~~~~~~~~~~~~~~~~~~~~~~ -!!! error TS2300: Duplicate identifier 'IdentiferNameHashTable'. + class IdentifierNameHashTable extends StringHashTable { + ~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS2300: Duplicate identifier 'IdentifierNameHashTable'. public getAllKeys(): string[]; public add(key: string, data: T): boolean; public addOrUpdate(key: string, data: T): boolean; @@ -81,9 +81,9 @@ tests/cases/compiler/genericClassesRedeclaration.ts(68,11): error TS2300: Duplic public lookup(key: string): T; public remove(key: string): void; } - class IdentiferNameHashTable extends StringHashTable { - ~~~~~~~~~~~~~~~~~~~~~~ -!!! error TS2300: Duplicate identifier 'IdentiferNameHashTable'. + class IdentifierNameHashTable extends StringHashTable { + ~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS2300: Duplicate identifier 'IdentifierNameHashTable'. public getAllKeys(): string[]; public add(key: string, data: T): boolean; public addOrUpdate(key: string, data: T): boolean; diff --git a/tests/baselines/reference/genericClassesRedeclaration.js b/tests/baselines/reference/genericClassesRedeclaration.js index 0d1b2661836ff..85d8b67ae5555 100644 --- a/tests/baselines/reference/genericClassesRedeclaration.js +++ b/tests/baselines/reference/genericClassesRedeclaration.js @@ -27,7 +27,7 @@ declare module TypeScript { public lookup(key: string): T; public remove(key: string): void; } - class IdentiferNameHashTable extends StringHashTable { + class IdentifierNameHashTable extends StringHashTable { public getAllKeys(): string[]; public add(key: string, data: T): boolean; public addOrUpdate(key: string, data: T): boolean; @@ -66,7 +66,7 @@ declare module TypeScript { public lookup(key: string): T; public remove(key: string): void; } - class IdentiferNameHashTable extends StringHashTable { + class IdentifierNameHashTable extends StringHashTable { public getAllKeys(): string[]; public add(key: string, data: T): boolean; public addOrUpdate(key: string, data: T): boolean; diff --git a/tests/baselines/reference/genericClassesRedeclaration.symbols b/tests/baselines/reference/genericClassesRedeclaration.symbols index d2b8c15b1408a..7ab2a87663fc0 100644 --- a/tests/baselines/reference/genericClassesRedeclaration.symbols +++ b/tests/baselines/reference/genericClassesRedeclaration.symbols @@ -136,47 +136,47 @@ declare module TypeScript { >remove : Symbol(StringHashTable.remove, Decl(genericClassesRedeclaration.ts, 25, 38)) >key : Symbol(key, Decl(genericClassesRedeclaration.ts, 26, 22)) } - class IdentiferNameHashTable extends StringHashTable { ->IdentiferNameHashTable : Symbol(IdentiferNameHashTable, Decl(genericClassesRedeclaration.ts, 27, 5)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 33)) + class IdentifierNameHashTable extends StringHashTable { +>IdentifierNameHashTable : Symbol(IdentifierNameHashTable, Decl(genericClassesRedeclaration.ts, 27, 5)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 34)) >StringHashTable : Symbol(StringHashTable, Decl(genericClassesRedeclaration.ts, 14, 5)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 34)) public getAllKeys(): string[]; ->getAllKeys : Symbol(IdentiferNameHashTable.getAllKeys, Decl(genericClassesRedeclaration.ts, 28, 64)) +>getAllKeys : Symbol(IdentifierNameHashTable.getAllKeys, Decl(genericClassesRedeclaration.ts, 28, 65)) public add(key: string, data: T): boolean; ->add : Symbol(IdentiferNameHashTable.add, Decl(genericClassesRedeclaration.ts, 29, 38)) +>add : Symbol(IdentifierNameHashTable.add, Decl(genericClassesRedeclaration.ts, 29, 38)) >key : Symbol(key, Decl(genericClassesRedeclaration.ts, 30, 19)) >data : Symbol(data, Decl(genericClassesRedeclaration.ts, 30, 31)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 34)) public addOrUpdate(key: string, data: T): boolean; ->addOrUpdate : Symbol(IdentiferNameHashTable.addOrUpdate, Decl(genericClassesRedeclaration.ts, 30, 50)) +>addOrUpdate : Symbol(IdentifierNameHashTable.addOrUpdate, Decl(genericClassesRedeclaration.ts, 30, 50)) >key : Symbol(key, Decl(genericClassesRedeclaration.ts, 31, 27)) >data : Symbol(data, Decl(genericClassesRedeclaration.ts, 31, 39)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 34)) public map(fn: (k: string, value: T, context: any) => void, context: any): void; ->map : Symbol(IdentiferNameHashTable.map, Decl(genericClassesRedeclaration.ts, 31, 58)) +>map : Symbol(IdentifierNameHashTable.map, Decl(genericClassesRedeclaration.ts, 31, 58)) >fn : Symbol(fn, Decl(genericClassesRedeclaration.ts, 32, 19)) >k : Symbol(k, Decl(genericClassesRedeclaration.ts, 32, 24)) >value : Symbol(value, Decl(genericClassesRedeclaration.ts, 32, 34)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 34)) >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 32, 44)) >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 32, 67)) public every(fn: (k: string, value: T, context: any) => void, context: any): boolean; ->every : Symbol(IdentiferNameHashTable.every, Decl(genericClassesRedeclaration.ts, 32, 88)) +>every : Symbol(IdentifierNameHashTable.every, Decl(genericClassesRedeclaration.ts, 32, 88)) >fn : Symbol(fn, Decl(genericClassesRedeclaration.ts, 33, 21)) >k : Symbol(k, Decl(genericClassesRedeclaration.ts, 33, 26)) >value : Symbol(value, Decl(genericClassesRedeclaration.ts, 33, 36)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 34)) >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 33, 46)) >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 33, 69)) public some(fn: (k: string, value: any, context: any) => void, context: any): boolean; ->some : Symbol(IdentiferNameHashTable.some, Decl(genericClassesRedeclaration.ts, 33, 93)) +>some : Symbol(IdentifierNameHashTable.some, Decl(genericClassesRedeclaration.ts, 33, 93)) >fn : Symbol(fn, Decl(genericClassesRedeclaration.ts, 34, 20)) >k : Symbol(k, Decl(genericClassesRedeclaration.ts, 34, 25)) >value : Symbol(value, Decl(genericClassesRedeclaration.ts, 34, 35)) @@ -184,9 +184,9 @@ declare module TypeScript { >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 34, 70)) public lookup(key: string): T; ->lookup : Symbol(IdentiferNameHashTable.lookup, Decl(genericClassesRedeclaration.ts, 34, 94)) +>lookup : Symbol(IdentifierNameHashTable.lookup, Decl(genericClassesRedeclaration.ts, 34, 94)) >key : Symbol(key, Decl(genericClassesRedeclaration.ts, 35, 22)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 28, 34)) } } @@ -327,47 +327,47 @@ declare module TypeScript { >remove : Symbol(StringHashTable.remove, Decl(genericClassesRedeclaration.ts, 64, 38)) >key : Symbol(key, Decl(genericClassesRedeclaration.ts, 65, 22)) } - class IdentiferNameHashTable extends StringHashTable { ->IdentiferNameHashTable : Symbol(IdentiferNameHashTable, Decl(genericClassesRedeclaration.ts, 66, 5)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 33)) + class IdentifierNameHashTable extends StringHashTable { +>IdentifierNameHashTable : Symbol(IdentifierNameHashTable, Decl(genericClassesRedeclaration.ts, 66, 5)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 34)) >StringHashTable : Symbol(StringHashTable, Decl(genericClassesRedeclaration.ts, 14, 5)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 34)) public getAllKeys(): string[]; ->getAllKeys : Symbol(IdentiferNameHashTable.getAllKeys, Decl(genericClassesRedeclaration.ts, 67, 64)) +>getAllKeys : Symbol(IdentifierNameHashTable.getAllKeys, Decl(genericClassesRedeclaration.ts, 67, 65)) public add(key: string, data: T): boolean; ->add : Symbol(IdentiferNameHashTable.add, Decl(genericClassesRedeclaration.ts, 68, 38)) +>add : Symbol(IdentifierNameHashTable.add, Decl(genericClassesRedeclaration.ts, 68, 38)) >key : Symbol(key, Decl(genericClassesRedeclaration.ts, 69, 19)) >data : Symbol(data, Decl(genericClassesRedeclaration.ts, 69, 31)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 34)) public addOrUpdate(key: string, data: T): boolean; ->addOrUpdate : Symbol(IdentiferNameHashTable.addOrUpdate, Decl(genericClassesRedeclaration.ts, 69, 50)) +>addOrUpdate : Symbol(IdentifierNameHashTable.addOrUpdate, Decl(genericClassesRedeclaration.ts, 69, 50)) >key : Symbol(key, Decl(genericClassesRedeclaration.ts, 70, 27)) >data : Symbol(data, Decl(genericClassesRedeclaration.ts, 70, 39)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 34)) public map(fn: (k: string, value: T, context: any) => void, context: any): void; ->map : Symbol(IdentiferNameHashTable.map, Decl(genericClassesRedeclaration.ts, 70, 58)) +>map : Symbol(IdentifierNameHashTable.map, Decl(genericClassesRedeclaration.ts, 70, 58)) >fn : Symbol(fn, Decl(genericClassesRedeclaration.ts, 71, 19)) >k : Symbol(k, Decl(genericClassesRedeclaration.ts, 71, 24)) >value : Symbol(value, Decl(genericClassesRedeclaration.ts, 71, 34)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 34)) >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 71, 44)) >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 71, 67)) public every(fn: (k: string, value: T, context: any) => void, context: any): boolean; ->every : Symbol(IdentiferNameHashTable.every, Decl(genericClassesRedeclaration.ts, 71, 88)) +>every : Symbol(IdentifierNameHashTable.every, Decl(genericClassesRedeclaration.ts, 71, 88)) >fn : Symbol(fn, Decl(genericClassesRedeclaration.ts, 72, 21)) >k : Symbol(k, Decl(genericClassesRedeclaration.ts, 72, 26)) >value : Symbol(value, Decl(genericClassesRedeclaration.ts, 72, 36)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 34)) >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 72, 46)) >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 72, 69)) public some(fn: (k: string, value: any, context: any) => void, context: any): boolean; ->some : Symbol(IdentiferNameHashTable.some, Decl(genericClassesRedeclaration.ts, 72, 93)) +>some : Symbol(IdentifierNameHashTable.some, Decl(genericClassesRedeclaration.ts, 72, 93)) >fn : Symbol(fn, Decl(genericClassesRedeclaration.ts, 73, 20)) >k : Symbol(k, Decl(genericClassesRedeclaration.ts, 73, 25)) >value : Symbol(value, Decl(genericClassesRedeclaration.ts, 73, 35)) @@ -375,8 +375,8 @@ declare module TypeScript { >context : Symbol(context, Decl(genericClassesRedeclaration.ts, 73, 70)) public lookup(key: string): T; ->lookup : Symbol(IdentiferNameHashTable.lookup, Decl(genericClassesRedeclaration.ts, 73, 94)) +>lookup : Symbol(IdentifierNameHashTable.lookup, Decl(genericClassesRedeclaration.ts, 73, 94)) >key : Symbol(key, Decl(genericClassesRedeclaration.ts, 74, 22)) ->T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 33)) +>T : Symbol(T, Decl(genericClassesRedeclaration.ts, 67, 34)) } } diff --git a/tests/baselines/reference/genericClassesRedeclaration.types b/tests/baselines/reference/genericClassesRedeclaration.types index c154d16837041..1d3756448570c 100644 --- a/tests/baselines/reference/genericClassesRedeclaration.types +++ b/tests/baselines/reference/genericClassesRedeclaration.types @@ -111,8 +111,8 @@ declare module TypeScript { >remove : (key: string) => void >key : string } - class IdentiferNameHashTable extends StringHashTable { ->IdentiferNameHashTable : IdentiferNameHashTable + class IdentifierNameHashTable extends StringHashTable { +>IdentifierNameHashTable : IdentifierNameHashTable >StringHashTable : StringHashTable public getAllKeys(): string[]; @@ -270,8 +270,8 @@ declare module TypeScript { >remove : (key: string) => void >key : string } - class IdentiferNameHashTable extends StringHashTable { ->IdentiferNameHashTable : TypeScript.IdentiferNameHashTable + class IdentifierNameHashTable extends StringHashTable { +>IdentifierNameHashTable : TypeScript.IdentifierNameHashTable >StringHashTable : TypeScript.StringHashTable public getAllKeys(): string[]; diff --git a/tests/cases/compiler/genericClassesRedeclaration.ts b/tests/cases/compiler/genericClassesRedeclaration.ts index b2a5f934acbe4..59c8bf3e0c22c 100644 --- a/tests/cases/compiler/genericClassesRedeclaration.ts +++ b/tests/cases/compiler/genericClassesRedeclaration.ts @@ -26,7 +26,7 @@ declare module TypeScript { public lookup(key: string): T; public remove(key: string): void; } - class IdentiferNameHashTable extends StringHashTable { + class IdentifierNameHashTable extends StringHashTable { public getAllKeys(): string[]; public add(key: string, data: T): boolean; public addOrUpdate(key: string, data: T): boolean; @@ -65,7 +65,7 @@ declare module TypeScript { public lookup(key: string): T; public remove(key: string): void; } - class IdentiferNameHashTable extends StringHashTable { + class IdentifierNameHashTable extends StringHashTable { public getAllKeys(): string[]; public add(key: string, data: T): boolean; public addOrUpdate(key: string, data: T): boolean; diff --git a/tests/cases/fourslash/completionListInvalidMemberNames.ts b/tests/cases/fourslash/completionListInvalidMemberNames.ts index 2f124758d69bf..6cfddbdfa2844 100644 --- a/tests/cases/fourslash/completionListInvalidMemberNames.ts +++ b/tests/cases/fourslash/completionListInvalidMemberNames.ts @@ -7,8 +7,8 @@ //// "any": "valid identifier name (matches a typescript keyword)", //// "#": "invalid identifier name", //// "$": "valid identifier name", -//// "\u0062": "valid unicode identifer name (b)", -//// "\u0031\u0062": "invalid unicode identifer name (1b)" +//// "\u0062": "valid unicode identifier name (b)", +//// "\u0031\u0062": "invalid unicode identifier name (1b)" ////}; //// ////x[|./*a*/|];