From 687a22ecd7872d7ed32b7f88d64acf4ca8708de5 Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Wed, 29 May 2024 01:40:56 -0300 Subject: [PATCH] revert --- src/NodeParser/IndexedAccessTypeNodeParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NodeParser/IndexedAccessTypeNodeParser.ts b/src/NodeParser/IndexedAccessTypeNodeParser.ts index 507fd55d6..d7a481350 100644 --- a/src/NodeParser/IndexedAccessTypeNodeParser.ts +++ b/src/NodeParser/IndexedAccessTypeNodeParser.ts @@ -63,7 +63,7 @@ export class IndexedAccessTypeNodeParser implements SubNodeParser { if (!(type instanceof LiteralType || type instanceof StringType || type instanceof NumberType)) { throw new LogicError( node, - `Unexpected type "${type?.getId()}" (expected "LiteralType.js" or "StringType.js" or "NumberType.js")`, + `Unexpected type "${type.getId()}" (expected "LiteralType.js" or "StringType.js" or "NumberType.js")`, ); }