Merge pull request #4057 from rcchen/master

Added interpolate typings for functions in svg.line/area
This commit is contained in:
Masahiro Wakame
2015-04-12 08:38:17 +09:00
Vendored
+4 -4
View File
@@ -1954,13 +1954,13 @@ declare module D3 {
/**
* Get the interpolation accessor.
*/
(): string;
(): string | ((points: number[][]) => string);
/**
* Set the interpolation accessor.
*
* @param interpolate The interpolation mode
*/
(interpolate: string): Line;
(interpolate: string | ((points: number[][]) => string)): Line;
};
/**
* Get or set the cardinal spline tension.
@@ -2250,13 +2250,13 @@ declare module D3 {
/**
* Get the interpolation accessor.
*/
(): string;
(): string | ((points: number[][]) => string);
/**
* Set the interpolation accessor.
*
* @param interpolate The interpolation mode
*/
(interpolate: string): Area;
(interpolate: string | ((points: number[][]) => string)): Area;
};
/**
* Get or set the cardinal spline tension.