File: tsc-workaround.patch

package info (click to toggle)
node-jsdom 20.0.3%2B~cs124.18.21-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 31,216 kB
  • sloc: javascript: 103,061; xml: 32,816; python: 26; makefile: 12; sh: 11
file content (39 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description: fix for recent tsc
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2022-10-18

--- a/saxes/src/saxes.ts
+++ b/saxes/src/saxes.ts
@@ -246,6 +246,7 @@
  *
  * @param tag The tag.
  */
+// @ts-ignore
 export type OpenTagStartHandler<O> = (tag: StartTagForOptions<O>) => void;
 
 export type AttributeEventForOptions<O extends SaxesOptions> =
@@ -257,6 +258,7 @@
  * Event handler for attributes.
  */
 export type AttributeHandler<O> =
+// @ts-ignore
   (attribute: AttributeEventForOptions<O>) => void;
 
 /**
@@ -265,6 +267,7 @@
  *
  * @param tag The tag.
  */
+// @ts-ignore
 export type OpenTagHandler<O> = (tag: TagForOptions<O>) => void;
 
 /**
@@ -273,6 +276,7 @@
  *
  * @param tag The tag.
  */
+// @ts-ignore
 export type CloseTagHandler<O> = (tag: TagForOptions<O>) => void;
 
 /**