diff --git a/dist/index.d.ts b/dist/index.d.ts index 82723a0..c146dc8 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -14,7 +14,7 @@ declare abstract class ChartwerkPod { protected zoom?: any; protected svg?: d3.Selection; protected state: PodState; - protected pan?: any; + protected pan?: d3.ZoomBehavior; protected clipPath?: any; protected isPanning: boolean; protected isBrushing: boolean; diff --git a/src/index.ts b/src/index.ts index 7632605..d269a73 100644 --- a/src/index.ts +++ b/src/index.ts @@ -113,7 +113,7 @@ abstract class ChartwerkPod { protected zoom?: any; protected svg?: d3.Selection; protected state: PodState; - protected pan?: any; // TODO: not any; + protected pan?: d3.ZoomBehavior; protected clipPath?: any; protected isPanning = false; protected isBrushing = false;