mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
change where tuples elements are loaded from to match TS 4.0
This commit is contained in:
@@ -2177,7 +2177,7 @@ public class TypeScriptASTConverter {
|
||||
}
|
||||
|
||||
private Node convertTupleType(JsonObject node, SourceLocation loc) throws ParseError {
|
||||
return new TupleTypeExpr(loc, convertChildrenAsTypes(node, "elementTypes"));
|
||||
return new TupleTypeExpr(loc, convertChildrenAsTypes(node, "elements"));
|
||||
}
|
||||
|
||||
private Node convertTypeAliasDeclaration(JsonObject node, SourceLocation loc) throws ParseError {
|
||||
|
||||
Reference in New Issue
Block a user