mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
Added interpolate typings for functions in svg.line/area
This commit is contained in:
8
d3/d3.d.ts
vendored
8
d3/d3.d.ts
vendored
@@ -1952,13 +1952,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.
|
||||
@@ -2248,13 +2248,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.
|
||||
|
||||
Reference in New Issue
Block a user