thelonious / kld-intersections

A library of intersection algorithms covering all SVG shape types
BSD 3-Clause "New" or "Revised" License
343 stars 55 forks source link

Typescript declaration file support #58

Open JoshOY opened 4 years ago

JoshOY commented 4 years ago

Hi, I'm using using this library and found it splendid! But currently our project is written in typescript so is there any type declaration file (.d.ts) support for this library?

Restuta commented 3 years ago

@JoshOY I don't think so, but you can create one similar to https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39899 that adds support for types of the fork of this project (https://github.com/signavio/svg-intersections) (I'd send a PR to that repo instead)