[BUG]: Property 'login' does not exist on type 'SerializeObject<UndefinedToOptional<{...}>> #339
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
What happened?
After updating Octokit from 2.0.14 to the latest version and running
typecheck
, I started seeing this error appearing for this code:Is there something missing on my side? Or is this a bug? I noticed that the error does not appear if I try to access any of the following properties:
But it does happen for any other property, like
description?
. I can't seem to figure out if there's a pattern here. This worked fine in previous versions withopenapi-types = 16.0.0
I apologize if this is not a bug. Thanks!
Versions
Octokit 3.1.0 with
openapi-types
on18.0.0
.Previously, was using Octokit 2.0.14 with
openapi-types
on16.0.0
.Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: