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

report: isolate treemap type checking #12953

Merged
merged 1 commit into from
Aug 21, 2021
Merged

report: isolate treemap type checking #12953

merged 1 commit into from
Aug 21, 2021

Conversation

brendankenny
Copy link
Member

Last functional piece of the tsc --build puzzle (tsconfig cleanup to follow).

The main change here is eliminating the reference to LhlMessages which brings in a ton of core files.

The type could be duplicated or moved to a shared d.ts file in the lhr types, but following the style of the equivalent Util.i18n usage in the main report, the LhlMessages format can be flattened from Record<LH.Locale, {message: string}> to Record<LH.Locale, string> in the build step that generates the strings, which actually simplifies ingestion in treemap/app/src/main.js where it's turning it into that format in the end anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants