Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Deprecation notice #364

Open
mrazauskas opened this issue Nov 15, 2023 · 0 comments
Open

Deprecation notice #364

mrazauskas opened this issue Nov 15, 2023 · 0 comments

Comments

@mrazauskas
Copy link
Owner

mrazauskas commented Nov 15, 2023

tsd-lite is deprecated.

Support for TypeScript 6 or any new features will not be added.

Meet TSTyche

I recommend migrating to TSTyche – The Essential Type Testing Tool.

It is a freshly published type testing tool. I developed it recently. A simple idea (jest-community/jest-runner-tsd#32) turned into two years of researching and tinkering. TSTyche has a lot to offer, here are just few highlights:

  • testing on specific versions of Typescript: tstyche --target 5.0,latest;
  • helpers like test() and describe() with .only, .skip run mode flags;
  • expect style assertions to compare two types, or two expressions, or a type with an expression, or an expression with a type;
  • .toRaiseError() matcher to capture exact error message.

Visit https://tstyche.org to view the full documentation.

Migration

As a reference, here are the few migration / usage PRs:

Jest

RedwoodJS

Typegoose

better-enums

.d.ts declaration testing in a JavaScript package:

docusaurus-remark-plugin-tab-blocks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant