From 4c49330bef199e6946eb8e46a66ce22d3943a200 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Thu, 20 Aug 2020 22:18:44 +0200 Subject: [PATCH] Fixed missing ctype expression handler in dts generator --- tools/dtsgen/import_organizer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/dtsgen/import_organizer.ts b/tools/dtsgen/import_organizer.ts index 0555d9d2..36cbd262 100644 --- a/tools/dtsgen/import_organizer.ts +++ b/tools/dtsgen/import_organizer.ts @@ -263,6 +263,9 @@ function analyze_type_node(node: ts.TypeNode | ts.LeftHandSideExpression, data: case SyntaxKind.TupleType: break; + case SyntaxKind.ConditionalType: + break; + default: throw "Unknown type " + SyntaxKind[node.kind] + ". Extend me :)"; }