norskeld/sigma

test: test types with `expect-type`

norskeld opened this issue · 2 comments

Test utility and other types with expect-type, because we have tricky ones, with recursion and conditionals. It's (almost) never a bad thing to write a couple more tests.

Actually Vitest already provides us with utils for testing types (uses expect-type under the hood).

This issue has been resolved in version 3.6.1.