Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add typescript build and sourcemaps #173

Closed
wants to merge 1 commit into from
Closed

chore: add typescript build and sourcemaps #173

wants to merge 1 commit into from

Conversation

hornta
Copy link

@hornta hornta commented Jul 14, 2024

fixes #164

I had to change the test runner to vitest because node test runner doesn't support testing TypeScript files.

I also couldn't get the ESLint script to work because the eslint-config-mourner dependency doesn't lint TS files.

@mourner
Copy link
Member

mourner commented Jul 14, 2024

Thanks for the PR, but next time please wait for maintainer's willingness to accept a drastic change to their library before doing the actual work. I'm not interested in maintaing Earcut in TypeScript form at this moment.

I might consider adding first-class TS types via JSDoc at some point like in some of my other libraries, but would like to do it myself because I'm very sensitive to details when it comes to maintenance.

@mourner mourner closed this Jul 14, 2024
@hornta hornta deleted the typescript branch July 17, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript or JSDoc
2 participants