Fixed missing ctype expression handler in dts generator

canary
WolverinDEV 2020-08-20 22:18:44 +02:00
parent 53210ec4e6
commit 4c49330bef
1 changed files with 3 additions and 0 deletions

View File

@ -263,6 +263,9 @@ function analyze_type_node(node: ts.TypeNode | ts.LeftHandSideExpression, data:
case SyntaxKind.TupleType: case SyntaxKind.TupleType:
break; break;
case SyntaxKind.ConditionalType:
break;
default: default:
throw "Unknown type " + SyntaxKind[node.kind] + ". Extend me :)"; throw "Unknown type " + SyntaxKind[node.kind] + ". Extend me :)";
} }