mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
TS: Support assertion types
This commit is contained in:
@@ -637,6 +637,8 @@ case @type.kind of
|
||||
@unionorintersectiontype = @uniontype | @intersectiontype;
|
||||
@typevariabletype = @canonicaltypevariabletype | @lexicaltypevariabletype;
|
||||
|
||||
hasAssertsKeyword(int node: @predicatetypeexpr ref);
|
||||
|
||||
@typed_ast_node = @expr | @typeexpr | @function;
|
||||
ast_node_type(
|
||||
unique int node: @typed_ast_node ref,
|
||||
|
||||
Reference in New Issue
Block a user