Skip to content
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

PullRequestOpenedEvent.pull_request is never #409

Closed
shigma opened this issue Mar 21, 2021 · 1 comment
Closed

PullRequestOpenedEvent.pull_request is never #409

shigma opened this issue Mar 21, 2021 · 1 comment

Comments

@shigma
Copy link

shigma commented Mar 21, 2021

What happened?

image

What did you expect to happen?

non-never

What the problem might be

@shigma shigma added the Type: Bug Something isn't working as documented label Mar 21, 2021
@wolfy1339 wolfy1339 added support and removed Type: Bug Something isn't working as documented labels Mar 21, 2021
@wolfy1339
Copy link
Member

This isn't a bug. If you look at the actual source code of the TS definitions, you'll see that it isn't never.

You will need to enable strictNullChecks in your tsconfig.json.

Duplicate of #395, #398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants