Just realized Vitest now has built in support for testing TypeScript types


Just realized Vitest now has built in support for testing TypeScript types.

How? It includes expect-type now by default. Handy.

Example:

More: https://vitest.dev/guide/testing-types

View original on X