-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Migrate package to TS #68
Conversation
I think it's a good idea to move type definitions to separate file, then import those types with type-imports. |
Agree, we'll do it before merge. Thanks! |
57745f1
to
e79665d
Compare
Size Change: -38 B (-1%) Total Size: 3.52 kB
|
47041b0
to
ededbb5
Compare
The PR is finnally ready for review 🎉 @danielart All project moved to TypeScript + add tests for types. Now already passed all tests and library size less than 1kb again. The version to test in your projects is 0.11.0-canary.2 Before merging the PR it would be great to test in an actual TypeScript project that everything is working correctly with 0.11.0-canary.2. I'm sure it's better than version 0.10 because now there are many more types, but it would be good to check it apart from review the code. Looking forward to the review 😊 let's see if we finally release version 0.11 soon, having moved the whole project to TypeScript! 🤩 |
#60
It's working in progress. I have put the following comment
// @ts-nocheck
, but before merging this PR has to be deleted so that all types are corrected.// @ts-nocheck
comments.ts
and.tsx
files