Installation
npm install --save @types/d3-interpolate-path
Summary
This package contains type definitions for d3-interpolate-path (https://github.com/pbeshai/d3-interpolate-path).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-interpolate-path.
index.d.ts
export interface PathCommandObject {
type: string;
x: number;
y: number;
}
export function interpolatePath(
a: string,
b: string,
excludeSegment?: (a: PathCommandObject, b: PathCommandObject) => boolean,
): (t: number) => string;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Paweł Dąbrowski.