mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
TS: Support declare modifier for fields
This commit is contained in:
@@ -200,8 +200,8 @@ case @stmt.kind of
|
||||
|
||||
isInstantiated(unique int decl: @namespacedeclaration ref);
|
||||
|
||||
@declarablestmt = @declstmt | @namespacedeclaration | @classdeclstmt | @functiondeclstmt | @enumdeclaration | @externalmoduledeclaration | @globalaugmentationdeclaration;
|
||||
hasDeclareKeyword(unique int stmt: @declarablestmt ref);
|
||||
@declarablenode = @declstmt | @namespacedeclaration | @classdeclstmt | @functiondeclstmt | @enumdeclaration | @externalmoduledeclaration | @globalaugmentationdeclaration | @field;
|
||||
hasDeclareKeyword(unique int stmt: @declarablenode ref);
|
||||
|
||||
isForAwaitOf(unique int forof: @forofstmt ref);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user