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

misc: remove lhr-lite.d.ts #7991

Merged
merged 2 commits into from
Apr 5, 2019
Merged

misc: remove lhr-lite.d.ts #7991

merged 2 commits into from
Apr 5, 2019

Conversation

brendankenny
Copy link
Member

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.

types/audit.d.ts Outdated Show resolved Hide resolved
types/audit.d.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@patrickhulce patrickhulce left a 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 Show resolved Hide resolved
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. */
Copy link
Collaborator

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?

Copy link
Member Author

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 {
Copy link
Collaborator

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?

Copy link
Member Author

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?

yeah, I was thinking about the same thing while doing this, I think it's worth trying to make it work.

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brendankenny brendankenny merged commit ef3beef into master Apr 5, 2019
@brendankenny brendankenny deleted the nolite branch April 5, 2019 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve LHR differences between master/LHR-Lite/external service
3 participants