Replies: 2 comments 1 reply
-
We are using this exact Vitest API for type testing in a few places already. I believe we only need them for functions with complex return types (a.k.a. “generics”). I'm totally open to adding more where it makes sense! 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@aleclarson "scripts": {
//...
"test": "vitest run --coverage --typecheck"
//...
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I haven't always been entirely satisfied with radashi's return types.
Would it be a good idea to add type tests ?
I found basic information on type testing here.
Also needs some changes to
package.json
script section.Here's a trivial example for the
alphabetical
functionBeta Was this translation helpful? Give feedback.
All reactions