Skip to content

Commit

Permalink
fix(animator): mark animate params as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jan 27, 2016
1 parent 80655e8 commit b6888ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/animator.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class VelocityAnimator {
* @param options Animation options
* @return resolved when animation is complete
*/
animate(element:any, nameOrProps:any, options:any, silent:boolean): Promise<VelocityAnimator> {
animate(element:any, nameOrProps:any, options?:any, silent?:boolean): Promise<VelocityAnimator> {
this.isAnimating = true;
let _this = this;
let overrides = {
Expand Down

0 comments on commit b6888ba

Please sign in to comment.