vite-plugin-vitest-typescript-assert
eslint-plugin-expect-type
vite-plugin-vitest-typescript-assert | eslint-plugin-expect-type | |
---|---|---|
9 | 3 | |
79 | 87 | |
- | - | |
0.0 | 9.6 | |
7 months ago | 4 days ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vite-plugin-vitest-typescript-assert
-
Typing is good but testing is better!?
As a Vitest user I want to be able to test my types with it. So I wrote my own type assertion plugin for Vitest.
- Test your TypeScript type with Vitest
- TypeScript type assertion plugin for Vitest
-
assertion-types VS vite-plugin-vitest-typescript-assert - a user suggested alternative
2 projects | 18 Jul 2022
-
conditional-type-checks VS vite-plugin-vitest-typescript-assert - a user suggested alternative
2 projects | 18 Jul 2022
-
vitest VS vite-plugin-vitest-typescript-assert - a user suggested alternative
2 projects | 18 Jul 2022
-
eslint-plugin-expect-type VS vite-plugin-vitest-typescript-assert - a user suggested alternative
2 projects | 18 Jul 2022
-
tsd VS vite-plugin-vitest-typescript-assert - a user suggested alternative
2 projects | 18 Jul 2022
eslint-plugin-expect-type
-
eslint-plugin-expect-type VS vite-plugin-vitest-typescript-assert - a user suggested alternative
2 projects | 18 Jul 2022
- Extreme Explorations of TypeScript's Type System
-
Is there any known way to measure coverage of... types?
You can test types, at least in terms of asserting happy path types and whether a piece of code, runtime or purely type-level, should trigger a tsc type error. Here's an example using eslint-plugin-expect-type.
What are some alternatives?
tsd - Check TypeScript type definitions
nominal - Powerful nominal types for your Typescript project
conditional-type-checks - Types for testing TypeScript types.
sum-types - Safe, ergonomic, non-generic sum types in TypeScript.
assertion-types - Test your types using just the TypeScript compiler and no external tools.
riux - 📦 Fully typed and immutable store made on top of Immer with mutation, action, subscription and validation!
eslint-plugin-functional - ESLint rules to disable mutation and promote fp in JavaScript and TypeScript.
vitest-mongodb - Run your tests with Vitest and MongoDB Memory server.
lambda-ioc - Super type safe dependency injection 💉 for TypeScript (inspired by Diddly)
cap - âš¡ Create awesome project by one command
typefuck - Type-level Brainfuck interpreter in TypeScript