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

Consider migrating type test to TSTyche #1

Open
mrazauskas opened this issue Jul 11, 2024 · 2 comments
Open

Consider migrating type test to TSTyche #1

mrazauskas opened this issue Jul 11, 2024 · 2 comments

Comments

@mrazauskas
Copy link

Hey there!

I just saw the issue you opened in tsd repo. Not sure if anyone will respond there.

The limitations of the library were causing me troubles too. So as a solution I wrote TSTyche, a type testing tool. Documentation: https://tstyche.org. Repo: https://github.com/tstyche/tstyche.

It just works. At any scale and complexity. See the Introduction page for details, https://tstyche.org/guide/introduction

There are numerous benefits and migration is relatively simple. Example PR: FloEdelmann/vue-ts-types#507

I could put together a migration PR, if that sounds interesting.

@jamesbrobb
Copy link
Owner

Thanks, this looks amazing and exactly what i've been looking for.

I've been using tsd on and off for a few years now and one of my biggest issues was the inability to write functional tests. The ability to group related tests with describe and comment the purpose of the test through test rather than requiring descriptive comments above each test is great.

I'll take a look at writing some tests with it tomorrow and get back to you if i have any questions, thanks.

@mrazauskas
Copy link
Author

Glad to hear. Another useful aspect is ability to directly compare two types or types of two expressions instead of creating intermediate values.

Feel free to ping me with any questions.

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

No branches or pull requests

2 participants