From b6703bc47da56cae15d847817d1c2cbf19e561cb Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Thu, 17 Aug 2017 09:30:04 -0700 Subject: [PATCH] lory.js: Fix compile errors --- types/lory.js/index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; }