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;
/**
|