-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
misc: remove lhr-lite.d.ts #7991
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heh, I forgot this type file still existed :)
types/audit.d.ts
Outdated
extendedInfo?: {[p: string]: any}; | ||
/** Overrides scoreDisplayMode with notApplicable if set to true */ | ||
notApplicable?: boolean; | ||
/** Extra information provided by some types of audits. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems about as descriptive as details
;)
do we want to talk about how this is structured data for the renderer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems about as descriptive as
details
;)
Fair :)
do we want to talk about how this is structured data for the renderer?
I took a two second stab at it :)
@@ -64,23 +70,31 @@ declare global { | |||
export interface Product { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
somewhat unrelated, but instead of duplicating should this Pick<>
+ extend from Result
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
somewhat unrelated, but instead of duplicating should this
Pick<>
+ extend fromResult
?
yeah, I was thinking about the same thing while doing this, I think it's worth trying to make it work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fixes #4867
all our output has been unified around the full LHR (and/or a subset(ish) of it via the proto), so no need for
lhr-lite.d.ts
anymore.This wasn't a comprehensive adding of strings to all the properties currently missing them, just copying over anything in
lhr-lite.d.ts
that wasn't currently in any of the type files we do use.