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

Add some tsd tests #313

Open
antongolub opened this issue Nov 25, 2020 · 2 comments
Open

Add some tsd tests #313

antongolub opened this issue Nov 25, 2020 · 2 comments

Comments

@antongolub
Copy link
Member

No description provided.

@antongolub
Copy link
Member Author

...to replace dtslint

@mrazauskas
Copy link

Also consider TSTyche, https://github.com/tstyche/tstyche

It is new and shinny type testing tool. I wrote it to replace tsd-lite, a fork of tsd that was able to handle monorepos. Unfortunately tsds architecture has many limitations, so I decided to create a new tool.

For example, TSTyche is able to test on specified version of TypeScript tstyche --target 4.8. By default, it loads the installed versions of TypeScript. In contrary tsd ships its own @tsd/typescript. Hence the install size of tsd currently is 48.0MB (note that typescripts size is 20.8MB) and tstyche is only 200kB. Also this means that, if TypeScript gets upgraded TSTyche will use that version, but tsd will still use the one it shipped with.

immutable.js was recently migrating away from dtslint. Their first idea was to use tsd (immutable-js/immutable-js#1985), but after I have pointed to some oddities (immutable-js/immutable-js#1986) they decided to use TSTyche (immutable-js/immutable-js#1988).

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