mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 00:55:32 -05:00
Update LKG and remove newly unnecessary non-null assertions (#26515)
This commit is contained in:
@@ -22451,7 +22451,7 @@ namespace ts {
|
||||
for (const decl of indexSymbol.declarations) {
|
||||
const declaration = <SignatureDeclaration>decl;
|
||||
if (declaration.parameters.length === 1 && declaration.parameters[0].type) {
|
||||
switch (declaration.parameters[0].type!.kind) {
|
||||
switch (declaration.parameters[0].type.kind) {
|
||||
case SyntaxKind.StringKeyword:
|
||||
if (!seenStringIndexer) {
|
||||
seenStringIndexer = true;
|
||||
|
||||
Reference in New Issue
Block a user