Skip to content

Missing types for category.supportedModes and node.explanation #15799

@hilja

Description

@hilja

FAQ

URL

https://clubmate.fi/about

What happened?

Not a big deal, but type defs for category.supportedModes and node.explanation fields seem to be missing. Also for www.theverge.com the node.explanation is not there (under the label-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:

import type Result from 'lighthouse/types/lhr/lhr.js'

const foo: Result = { /* LH output */ }
Screenshot 2024-02-02 at 19 21 55 Screenshot 2024-02-02 at 20 02 14

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions