Skip to content

Commit 29068ad

Browse files
committed
fix type
1 parent 01f92ab commit 29068ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/classes/ParallaxController.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ export class ParallaxController {
171171
* Determines if the element is in view based on the cached
172172
* attributes, if so set the elements parallax styles.
173173
*/
174-
// @ts-ignore
175-
private _updateAllElements({ updateCache }: { updateCache: boolean } = {}) {
174+
private _updateAllElements({ updateCache }: { updateCache?: boolean } = {}) {
176175
if (this.elements) {
177176
this.elements.forEach((element) => {
178177
this._updateElementPosition(element);

0 commit comments

Comments
 (0)