mirror of https://github.com/zulip/zulip.git
dependencies: Patch @types/plotly.js for exactOptionalPropertyTypes.
Submitted upstream: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/69621 Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
47414d1e4a
commit
08a50cf74b
|
@ -155,6 +155,7 @@
|
|||
"source-map@^0.6": "npm:source-map-js@1.0.1"
|
||||
},
|
||||
"patchedDependencies": {
|
||||
"@types/plotly.js@2.29.2": "patches/@types__plotly.js@2.29.2.patch",
|
||||
"@uppy/core@3.10.1": "patches/@uppy__core@3.10.1.patch",
|
||||
"eslint-plugin-no-jquery@2.7.0": "patches/eslint-plugin-no-jquery@2.7.0.patch",
|
||||
"source-sans@3.46.0": "patches/source-sans@3.46.0.patch"
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
diff --git a/index.d.ts b/index.d.ts
|
||||
index 04f7564695dd0bd2ed5ace66d0fd5838f53dbc62..0fdb6d9a06232b7af5dab1029c6fb4d3c4168c1e 100644
|
||||
--- a/index.d.ts
|
||||
+++ b/index.d.ts
|
||||
@@ -118,12 +118,12 @@ export interface PlotScene {
|
||||
}
|
||||
|
||||
export interface PlotRelayoutEvent extends Partial<Layout> {
|
||||
- "xaxis.range[0]"?: number | undefined;
|
||||
- "xaxis.range[1]"?: number | undefined;
|
||||
- "yaxis.range[0]"?: number | undefined;
|
||||
- "yaxis.range[1]"?: number | undefined;
|
||||
- "xaxis.autorange"?: boolean | undefined;
|
||||
- "yaxis.autorange"?: boolean | undefined;
|
||||
+ "xaxis.range[0]"?: number;
|
||||
+ "xaxis.range[1]"?: number;
|
||||
+ "yaxis.range[0]"?: number;
|
||||
+ "yaxis.range[1]"?: number;
|
||||
+ "xaxis.autorange"?: boolean;
|
||||
+ "yaxis.autorange"?: boolean;
|
||||
}
|
||||
|
||||
export interface ClickAnnotationEvent {
|
|
@ -8,6 +8,9 @@ overrides:
|
|||
source-map@^0.6: npm:source-map-js@1.0.1
|
||||
|
||||
patchedDependencies:
|
||||
'@types/plotly.js@2.29.2':
|
||||
hash: iagbbcdfsh4npp27hj45urzgum
|
||||
path: patches/@types__plotly.js@2.29.2.patch
|
||||
'@uppy/core@3.10.1':
|
||||
hash: p55fuvtzi4wgpu6zqubw64gyay
|
||||
path: patches/@uppy__core@3.10.1.patch
|
||||
|
@ -322,7 +325,7 @@ importers:
|
|||
version: 20.12.7
|
||||
'@types/plotly.js':
|
||||
specifier: ^2.12.20
|
||||
version: 2.29.2
|
||||
version: 2.29.2(patch_hash=iagbbcdfsh4npp27hj45urzgum)
|
||||
'@types/sortablejs':
|
||||
specifier: ^1.15.1
|
||||
version: 1.15.8
|
||||
|
@ -9149,7 +9152,7 @@ snapshots:
|
|||
|
||||
'@types/picomatch@2.3.3': {}
|
||||
|
||||
'@types/plotly.js@2.29.2': {}
|
||||
'@types/plotly.js@2.29.2(patch_hash=iagbbcdfsh4npp27hj45urzgum)': {}
|
||||
|
||||
'@types/qs@6.9.15': {}
|
||||
|
||||
|
|
|
@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 261
|
|||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (270, 2) # last bumped 2024-05-14 for patching @uppy/core
|
||||
PROVISION_VERSION = (270, 3) # last bumped 2024-05-15 for patching @types/plotly.js
|
||||
|
|
Loading…
Reference in New Issue