diff --git a/types/lory.js/index.d.ts b/types/lory.js/index.d.ts index 6da87b70b8..9f39f9bf30 100644 --- a/types/lory.js/index.d.ts +++ b/types/lory.js/index.d.ts @@ -123,30 +123,30 @@ interface LoryOptions { /** * executed before initialisation (first in setup function) */ - beforeInit?: () => T; + beforeInit?(): any; /** * executed after initialisation (end of setup function) */ - afterInit?: () => T; + afterInit?(): any; /** * executed on click of prev controls (prev function) */ - beforePrev?: () => T; + beforePrev?(): any; /** * executed on click of next controls (next function) */ - beforeNext?: () => T; + beforeNext?(): any; /** * executed on touch attempt (touchstart) */ - beforeTouch?: () => T; + beforeTouch?(): any; /** * executed on every resize event */ - beforeResize?: () => T; + beforeResize?(): any; }