Skip to content

Commit c5d0c0d

Browse files
author
Joshua Alzate
committed
Add HTMLCollectionOf<Element> as data type of image parameter
1 parent 6a945de commit c5d0c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare module 'simple-parallax-js' {
1212
}
1313

1414
export default class SimpleParallax {
15-
constructor(images: Element | Element[], settings?: IParallaxSettings);
15+
constructor(images: Element | Element[] | HTMLCollectionOf<Element>, settings?: IParallaxSettings);
1616
public refresh: () => void;
1717
public destroy: () => void;
1818
}

0 commit comments

Comments
 (0)