Unable to infer types from Typescript programs #18593
Unanswered
harshitgarg22
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to infer the types of variables from a Typescript program for my custom CodeQL analysis. I am not able to get any types however. Is this a bug in the QL (I can file a bug report if so) or am I doing something wrong? Attaching my code below.
returns
for the program doSomething.ts
Note that if I run this query without the getType predicate,
I get:
Beta Was this translation helpful? Give feedback.
All reactions