mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-08 19:20:05 +00:00
Fix errors in source code for stcikem
This commit is contained in:
4
types/jquery.stickem/index.d.ts
vendored
4
types/jquery.stickem/index.d.ts
vendored
@@ -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 {
|
||||
|
||||
@@ -16,4 +16,4 @@ jQuery('div').stickem({
|
||||
container: '.stickem-container',
|
||||
stickClass: 'stickit',
|
||||
endStickClass: 'stickit-end'
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user