Skip to content

CanvasPathMethods has been renamed CanvasPath [Breaking Change] #548

@denisname

Description

@denisname

When using typescript@next (Version 3.1.0-dev.20180801), it comes with a lib.dom.d.ts missing CanvasPathMethods interface. Apparently, the interface has been renamed CanvasPath but without the method:

arcTo(x1: number, y1: number, x2: number, y2: number, radiusX: number, radiusY: number, rotation: number): void;

This creates a backward incompatibilty, see: DefinitelyTyped/DefinitelyTyped#27750.

Please rename the interface back, add a deprecated type alias CanvasPathMethods or propose a way I can upgrade a type definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions