Unable to infer types from Typescript programs #18593
Replies: 1 comment 3 replies
-
Hi @harshitgarg22, Thanks for your question. That is indeed odd. I notice we do have the Will keep you posted. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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