diff --git a/types/jquery.stickem/index.d.ts b/types/jquery.stickem/index.d.ts index 6b223805ec..50e759635e 100644 --- a/types/jquery.stickem/index.d.ts +++ b/types/jquery.stickem/index.d.ts @@ -40,12 +40,12 @@ interface StickemSettings { /** * Callback to execute when in stick state */ - onStick?: Function, + onStick?: () => void; /** * Callback to execute when getting out of stick state */ - onUnstick?: Function + onUnstick?: () => void; } interface JQuery { diff --git a/types/jquery.stickem/jquery.stickem-tests.ts b/types/jquery.stickem/jquery.stickem-tests.ts index 37fb586280..572bdf7773 100644 --- a/types/jquery.stickem/jquery.stickem-tests.ts +++ b/types/jquery.stickem/jquery.stickem-tests.ts @@ -16,4 +16,4 @@ jQuery('div').stickem({ container: '.stickem-container', stickClass: 'stickit', endStickClass: 'stickit-end' -}); \ No newline at end of file +});