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

The type of issue on IssuesOpenedEvent is never #511

Closed
divyenduz opened this issue Jun 20, 2021 · 1 comment
Closed

The type of issue on IssuesOpenedEvent is never #511

divyenduz opened this issue Jun 20, 2021 · 1 comment
Labels
Type: Bug Something isn't working as documented

Comments

@divyenduz
Copy link

What happened?

CleanShot 2021-06-20 at 11 56 25

What did you expect to happen?

It should be Issue & { state: "open"; }

What the problem might be

I found this #395 but I am using strict, strictNullChecks true in tsconfig.

Removing closed_at: null from the generated type does fix this.

@divyenduz divyenduz added the Type: Bug Something isn't working as documented label Jun 20, 2021
@divyenduz
Copy link
Author

Ah, never mind. Restarting LSP after enabling strict check fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
Projects
None yet
Development

No branches or pull requests

1 participant