From 4370a43172b55754a481157a52ceb53e0dd95149 Mon Sep 17 00:00:00 2001 From: enternet Date: Thu, 3 Apr 2014 12:41:24 +0300 Subject: [PATCH] Compability with --noImplicitAny option. The module will be compatible with --noImplicitAny option of tsc compiler. --- d3/plugins/d3.superformula.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d3/plugins/d3.superformula.d.ts b/d3/plugins/d3.superformula.d.ts index ce649446b..6f5c59b07 100644 --- a/d3/plugins/d3.superformula.d.ts +++ b/d3/plugins/d3.superformula.d.ts @@ -10,7 +10,7 @@ declare module D3 { interface SuperformulaType { - (any): any;//hans + (any: any): any;//hans m: number; n1: number; n2: number; @@ -22,7 +22,7 @@ declare module D3 { interface Superformula { (): any; - type(any): any; + type(any: any): any; param(name: string, value: number): Superformula; size(x: number): Superformula; segments(x: number): Superformula; @@ -35,4 +35,4 @@ declare module D3 { superformulaPath: SuperformulaPath; superformulaTypes: SuperformulaType[]; } -} \ No newline at end of file +}