-
Notifications
You must be signed in to change notification settings - Fork 1.7k
JS: QL-side type/name resolution for TypeScript and JSDoc #19078
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
cee75ae
to
fa3e5ed
Compare
} | ||
|
||
/** Helps track flow from a particular set of source nodes. */ | ||
module Track<nodeSig/1 isSource> { |
Check warning
Code scanning / CodeQL
Dead code Warning
target = cls.getConstructor().getBody() | ||
) | ||
or | ||
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionValue(target)) |
Check warning
Code scanning / CodeQL
Redundant cast Warning
InvokeExpr
or | ||
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionValue(target)) | ||
or | ||
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionType(target)) and |
Check warning
Code scanning / CodeQL
Redundant cast Warning
InvokeExpr
) | ||
or | ||
exists(InterfaceDefinition interface, CallSignature sig | | ||
valueHasType(call.(InvokeExpr).getCallee(), trackType(interface)) and |
Check warning
Code scanning / CodeQL
Redundant cast Warning
InvokeExpr
fe9b23d
to
c07cc6e
Compare
2d928f2
to
3b395af
Compare
3b395af
to
d92247c
Compare
No description provided.