DefinitelyTyped/types/jump.js/index.d.ts
Andy b6c343f2b3 Apply new lint rules to yet more packages (#15548)
* Apply new lint rules to yet more packages

* Fix leaflet lint
2017-03-31 11:01:26 -07:00

20 lines
582 B
TypeScript

// Type definitions for jump.js 1.0
// Project: https://github.com/callmecavs/jump.js
// Definitions by: rhysd <https://rhysd.github.io>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = jump;
declare function jump(target: string | Element | number, opts?: jump.Options): void;
declare namespace jump {
type TransitionFunc = (t: number, b: number, c: number, d: number) => number;
interface Options {
duration?: number;
offset?: number;
callback?(): void;
easing?: TransitionFunc;
a11y?: boolean;
}
}