-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multidimensional data pages baking logic
* Don't delete mdims in GrapherBaker * Delete old mdims in MultiDimBaker * Improve the console output * Document issue with TSConfig and getting ESNext types
- Loading branch information
Showing
7 changed files
with
106 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,23 @@ | |
"declaration": true, | ||
"declarationMap": true, | ||
|
||
"lib": ["dom", "dom.iterable", "es2020", "es2021", "es2022", "es2023"], | ||
// To get newer APIs like Set.prototype.intersection(), we need to use | ||
// ESNext lib on Node 22 and current version of TypeScript (5.7.2). | ||
// However, using the ESNext option doesn't work with | ||
// @types/[email protected], which we are currently pinned to, to fix an | ||
// unrelated bug with types in Cloudflare Functions, thus we only use | ||
// ESNext.Collection. | ||
// https://github.com/microsoft/TypeScript/issues/59919 | ||
// https://developers.cloudflare.com/workers/languages/typescript/#transitive-loading-of-typesnode-overrides-cloudflareworkers-types | ||
"lib": [ | ||
"dom", | ||
"dom.iterable", | ||
"es2020", | ||
"es2021", | ||
"es2022", | ||
"es2023", | ||
"ESNext.Collection" | ||
], | ||
// Using es2022 as a `target` caused the following error in wrangler: | ||
// "Uncaught TypeError: PointVector is not a constructor". | ||
// This seems to be related to a change in how classes are compiled in | ||
|