lory.js: Fix compile errors

This commit is contained in:
Andy Hanson
2017-08-17 09:30:04 -07:00
parent 193d9dc3bf
commit b6703bc47d
+6 -6
View File
@@ -123,30 +123,30 @@ interface LoryOptions {
/**
* executed before initialisation (first in setup function)
*/
beforeInit?: <T>() => T;
beforeInit?(): any;
/**
* executed after initialisation (end of setup function)
*/
afterInit?: <T>() => T;
afterInit?(): any;
/**
* executed on click of prev controls (prev function)
*/
beforePrev?: <T>() => T;
beforePrev?(): any;
/**
* executed on click of next controls (next function)
*/
beforeNext?: <T>() => T;
beforeNext?(): any;
/**
* executed on touch attempt (touchstart)
*/
beforeTouch?: <T>() => T;
beforeTouch?(): any;
/**
* executed on every resize event
*/
beforeResize?: <T>() => T;
beforeResize?(): any;
}