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

WIP Convert to typescript #37

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

WIP Convert to typescript #37

wants to merge 19 commits into from

Conversation

Almenon
Copy link
Contributor

@Almenon Almenon commented Dec 7, 2019

This converts renderjson to typescript. Typescript has a number of benefits like type safety, catching common mistakes, easier refactoring, and better intellisense.

It also adds tests to make sure things are still working.

Make sure to run prePublish before publishing a new version.
Although theoretically backwards compatible, this is a major change so I've updated the version number to v2 just to be safe.

Unfortunately I just realized it doesn't work in the browser because of the use of "exports".... crap

Why is the JS ecosystem so complicated?? 😭

@Almenon
Copy link
Contributor Author

Almenon commented Dec 7, 2019

WIP = work in progress (don't merge yet)

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.

1 participant