-
Notifications
You must be signed in to change notification settings - Fork 41
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
Typescript IssueCommentEvent.issue type is never #395
Comments
I'm using emacs with lsp-mode, but I got a similar error using the cli:
|
What does your Could you also confirm if this happens if you use an static import? (i.e |
Yes it happens using static imports
yep, looking at the tsconfig I found I had disabled the strict flag, enabling it fixes the issue, no other relevant modification were done to the tsconfig:
To be clear changing to |
Interesting, it's because of Maybe it's because when that flag is false Sadly there's not really a lot we can do as the type is correct and valid. |
I think I'm ok with enabling |
Trying to use type
IssueCommentEvent
accessingissue
property yieldsnever
type:I would expect it to have some type, either Issue or some augmentation of it
Perhaps there's some conflict between the
Issue
type and specific type overwriting it itThe text was updated successfully, but these errors were encountered: