-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Missing types for category.supportedModes
and node.explanation
#15799
Comments
The Lighthouse The |
Okay interesting. Could you elaborate on the If I use type CategoryConfig = Record<string, Config.Category> Then it’s missing other properties like I can extend the types and it seems to work: type CategoryConfig = Record<string, Config.Category & Result.Category> Is this correct usage? Thanks! |
Yeah I took a look at the generated results, and looks like we are emitting |
I'd like to have a take on this issue. I believe adding |
Feel free to submit a PR @An-Yay |
Please do it :) I just patched Lighthouse and forgot about it. |
Hey @adamraine, I can pick the issue if it is still pending! |
Feel free to submit a PR @parshva-b |
G'day folks, I've raised a PR here for this fix. Please let me know if I've got it wrong. Cheers! |
FAQ
URL
https://clubmate.fi/about
What happened?
Not a big deal, but type defs for
category.supportedModes
andnode.explanation
fields seem to be missing. Also for www.theverge.com thenode.explanation
is not there (under thelabel-content-name-mismatch
item). Apparently these are more rare fields.Is this a mistake in the types or the output?
What did you expect?
Complete typing.
What have you tried?
I saved the output to a
.ts
file and added a type, then looked for the red squiglies:How were you running Lighthouse?
node
Lighthouse Version
11.5.0
Chrome Version
No response
Node Version
v20.11.0
OS
Mac OS
Relevant log output
No response
The text was updated successfully, but these errors were encountered: