🐛 (typescript) patch event target interface with a value
This commit is contained in:
@@ -25,5 +25,10 @@
|
||||
"dependencies": {
|
||||
"chart.xkcd": "^1.1.13",
|
||||
"pinia": "^2.1.3"
|
||||
},
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
"typescript@5.0.4": "patches/typescript@5.0.4.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
patches/typescript@5.0.4.patch
Normal file
12
patches/typescript@5.0.4.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/lib/lib.dom.d.ts b/lib/lib.dom.d.ts
|
||||
index 4a1be1170b5f39cc844bdf0a1c5b89872380c40c..1fd652f50c115b4d97f668ef75fe0d05c83a8eb9 100644
|
||||
--- a/lib/lib.dom.d.ts
|
||||
+++ b/lib/lib.dom.d.ts
|
||||
@@ -5344,6 +5344,7 @@ interface EventTarget {
|
||||
dispatchEvent(event: Event): boolean;
|
||||
/** Removes the event listener in target's event listener list with the same type, callback, and options. */
|
||||
removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
||||
+ value?: string
|
||||
}
|
||||
|
||||
declare var EventTarget: {
|
||||
18
pnpm-lock.yaml
generated
18
pnpm-lock.yaml
generated
@@ -1,5 +1,10 @@
|
||||
lockfileVersion: '6.0'
|
||||
|
||||
patchedDependencies:
|
||||
typescript@5.0.4:
|
||||
hash: tswc77krsppsyyde46hhoafsoi
|
||||
path: patches/typescript@5.0.4.patch
|
||||
|
||||
dependencies:
|
||||
chart.xkcd:
|
||||
specifier: ^1.1.13
|
||||
@@ -29,7 +34,7 @@ devDependencies:
|
||||
version: 1.62.1
|
||||
typescript:
|
||||
specifier: ^5.0.4
|
||||
version: 5.0.4
|
||||
version: 5.0.4(patch_hash=tswc77krsppsyyde46hhoafsoi)
|
||||
vitest:
|
||||
specifier: ^0.31.1
|
||||
version: 0.31.1(sass@1.62.1)
|
||||
@@ -1860,7 +1865,7 @@ packages:
|
||||
typescript: '*'
|
||||
dependencies:
|
||||
'@volar/language-core': 1.5.4
|
||||
typescript: 5.0.4
|
||||
typescript: 5.0.4(patch_hash=tswc77krsppsyyde46hhoafsoi)
|
||||
dev: true
|
||||
|
||||
/@vue/compiler-core@3.2.45:
|
||||
@@ -2001,7 +2006,7 @@ packages:
|
||||
dependencies:
|
||||
'@volar/typescript': 1.5.4(typescript@5.0.4)
|
||||
'@vue/language-core': 1.7.0
|
||||
typescript: 5.0.4
|
||||
typescript: 5.0.4(patch_hash=tswc77krsppsyyde46hhoafsoi)
|
||||
dev: true
|
||||
|
||||
/@vueuse/head@1.1.26(vue@3.3.4):
|
||||
@@ -4295,7 +4300,7 @@ packages:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@vue/devtools-api': 6.5.0
|
||||
typescript: 5.0.4
|
||||
typescript: 5.0.4(patch_hash=tswc77krsppsyyde46hhoafsoi)
|
||||
vue: 3.3.4
|
||||
vue-demi: 0.14.5(vue@3.3.4)
|
||||
dev: false
|
||||
@@ -4840,10 +4845,11 @@ packages:
|
||||
engines: {node: '>=10'}
|
||||
dev: true
|
||||
|
||||
/typescript@5.0.4:
|
||||
/typescript@5.0.4(patch_hash=tswc77krsppsyyde46hhoafsoi):
|
||||
resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==}
|
||||
engines: {node: '>=12.20'}
|
||||
hasBin: true
|
||||
patched: true
|
||||
|
||||
/ufo@1.1.2:
|
||||
resolution: {integrity: sha512-TrY6DsjTQQgyS3E3dBaOXf0TpPD8u9FVrVYmKVegJuFw51n/YB9XPt+U6ydzFG5ZIN7+DIjPbNmXoBj9esYhgQ==}
|
||||
@@ -5292,7 +5298,7 @@ packages:
|
||||
'@vue/language-core': 1.7.0
|
||||
'@vue/typescript': 1.7.0(typescript@5.0.4)
|
||||
semver: 7.5.1
|
||||
typescript: 5.0.4
|
||||
typescript: 5.0.4(patch_hash=tswc77krsppsyyde46hhoafsoi)
|
||||
dev: true
|
||||
|
||||
/vue@3.3.4:
|
||||
|
||||
Reference in New Issue
Block a user