From b1179617ffeb8256f233a20834ea1b840cf2dfb0 Mon Sep 17 00:00:00 2001 From: Matthew James Davis Date: Tue, 22 Oct 2013 10:19:20 -0400 Subject: [PATCH] fixed syntax error, missing parameter name --- mapsjs/mapsjs.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mapsjs/mapsjs.d.ts b/mapsjs/mapsjs.d.ts index c36eeade9b..ef921d27c1 100644 --- a/mapsjs/mapsjs.d.ts +++ b/mapsjs/mapsjs.d.ts @@ -986,13 +986,13 @@ declare module 'mapsjs' { * @returns {function} Function with the signature animation(pathElement, loopback). */ getAnimation(): (pathElement: HTMLElement, loopback: () => void) => void; - + /** * You can use the loopback parameter on complete to call itself and * create repeating animation. * @param {function} Function with the signature animation(pathElement, loopback). */ - setAnimation((pathElement: HTMLElement, loopback: () => void) => void): void; + setAnimation(action: (pathElement: HTMLElement, loopback: () => void) => void): void; /** * Renders this geometry as an SVG path. Note: We attach original