From b9434af57b86d2b914c820f17d7d506c1c0a9f3f Mon Sep 17 00:00:00 2001 From: Tom Crockett Date: Thu, 21 Nov 2013 01:12:15 -0800 Subject: [PATCH] Fix the type of Zoom application --- d3/d3.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/d3/d3.d.ts b/d3/d3.d.ts index 7facd8675..67cc268ae 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -2681,9 +2681,11 @@ declare module D3 { export interface Zoom { /** - * Execute zoom method + * Applies the zoom behavior to the specified selection, + * registering the necessary event listeners to support + * panning and zooming. */ - (): any; + (Selection): void; /** * Registers a listener to receive events