mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Fix the type of Zoom application
This commit is contained in:
6
d3/d3.d.ts
vendored
6
d3/d3.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user