forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
node modules: Add d3 TypeScript type definitions from @types/d3
- Add select d3 types to node_modules/@types. These are needed for type checking the chrome://discards page. - Add a local patch for the main d3 index.d.ts. This is done to avoid pulling in significantly more d3-*/ type files, which are not actually used in Chromium. This adds about 36k to the size of node_modules after filtering. Bug: 1189595 Change-Id: I0c8a595130813c09b475b9305a2c4f728590885d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3523470 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/main@{#981407}
- Loading branch information
Showing
7 changed files
with
532 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
diff -u a/index.d.ts b/index.d.ts | ||
--- a/index.d.ts 2022-03-14 12:45:14.281492632 -0700 | ||
+++ b/index.d.ts 2022-03-14 12:44:58.281583117 -0700 | ||
@@ -20,34 +20,8 @@ | ||
*/ | ||
export const version: string; | ||
|
||
-export * from 'd3-array'; | ||
-export * from 'd3-axis'; | ||
-export * from 'd3-brush'; | ||
-export * from 'd3-chord'; | ||
-export * from 'd3-collection'; | ||
-export * from 'd3-color'; | ||
-export * from 'd3-contour'; | ||
-export * from 'd3-dispatch'; | ||
export * from 'd3-drag'; | ||
-export * from 'd3-dsv'; | ||
-export * from 'd3-ease'; | ||
-export * from 'd3-fetch'; | ||
export * from 'd3-force'; | ||
-export * from 'd3-format'; | ||
-export * from 'd3-geo'; | ||
-export * from 'd3-hierarchy'; | ||
-export * from 'd3-interpolate'; | ||
-export * from 'd3-path'; | ||
-export * from 'd3-polygon'; | ||
-export * from 'd3-quadtree'; | ||
-export * from 'd3-random'; | ||
-export * from 'd3-scale'; | ||
export * from 'd3-scale-chromatic'; | ||
export * from 'd3-selection'; | ||
-export * from 'd3-shape'; | ||
-export * from 'd3-time'; | ||
-export * from 'd3-time-format'; | ||
-export * from 'd3-timer'; | ||
export * from 'd3-transition'; | ||
-export * from 'd3-voronoi'; | ||
-export * from 'd3-zoom'; |
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 |
---|---|---|
@@ -1 +1 @@ | ||
aad6877c8cd3cff0ef1ba628d71acc981c520c29 | ||
0baf1b0dba664e771dfe0ea3c155674bef85ca39 |
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
Oops, something went wrong.