test: test types with `expect-type`
norskeld opened this issue · 2 comments
norskeld commented
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.
norskeld commented
Actually Vitest already provides us with utils for testing types (uses expect-type
under the hood).