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

TR-22: Refactor rollup/percent-complete #197

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

binaryberserker
Copy link
Contributor

No description provided.

const groupedIssueData = groupIssuesByHierarchyLevel(completionRollups);

// Object.groupBy requires "target: ESNext" in tsconfig
const issueKeyToChildren = Object.groupBy(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: Object.groupBy is only available in the ESNext target, so preserving the existing code as much as possible meant changing tsconfig target from ES2020 to ESNext

@@ -1,6 +1,7 @@
{
"compilerOptions": {
"target": "ES2020",
"target": "ESNext",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

percent complete is using Object.groupBy, which is only available in ESNext

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.

1 participant