-
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
core: computed artifact keys #13430
core: computed artifact keys #13430
Conversation
* @param {C} computableArtifact | ||
* @param {K & ([keyof FirstParamType<C['compute_']>] extends [K[number]] ? unknown : never)} [keys] |
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.
Idea is to make this required and have TS verify everything.
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.
Why required?
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.
Ensures #13411 isn't happening anywhere else.
@@ -7919,18 +7883,6 @@ | |||
"duration": 100, | |||
"entryType": "measure" | |||
}, | |||
{ | |||
"startTime": 0, | |||
"name": "lh:computed:ModuleDuplication", |
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.
also |
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!
Proposal to resolve #13411