File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export interface FastjsDomAPI<ElementType extends ElementList> {
41
41
father ( ) : FastjsDom < ElementList > | null ;
42
42
children ( ) : FastjsDomList ;
43
43
next <
44
- T extends FastjsDom | FastjsDomList | null =
44
+ T extends FastjsDom < any > | FastjsDomList | null =
45
45
| FastjsDom
46
46
| FastjsDomList
47
47
| null
@@ -97,12 +97,12 @@ export interface FastjsDomAPI<ElementType extends ElementList> {
97
97
setAttr ( attr : { [ key : string ] : string | null } ) : FastjsDom < ElementType > ;
98
98
setAttr ( key : string , val : string | null ) : FastjsDom < ElementType > ;
99
99
push < T extends PushTarget > (
100
- el : ElementList | FastjsDomList | FastjsDom ,
100
+ el : ElementList | FastjsDomList | FastjsDom < any > ,
101
101
target : T ,
102
102
clone ?: boolean
103
103
) : PushReturn < T , ElementType > ;
104
104
insert < T extends InsertTarget > (
105
- el : ElementList | FastjsDomList | FastjsDom ,
105
+ el : ElementList | FastjsDomList | FastjsDom < any > ,
106
106
target : T ,
107
107
clone ?: boolean
108
108
) : InsertReturn < ElementType > ;
You can’t perform that action at this time.
0 commit comments