eslint-plugin-expect-type
get-optional
eslint-plugin-expect-type | get-optional | |
---|---|---|
3 | 1 | |
87 | 2 | |
- | - | |
9.6 | 10.0 | |
3 days ago | over 5 years ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
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.
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.
get-optional
-
Extreme Explorations of TypeScript's Type System
My solution to this was to run tsc from Jest tests and do snapshot tests for the error messages
https://github.com/noppa/get-optional/tree/master/tests/typi...
What are some alternatives?
nominal - Powerful nominal types for your Typescript project
ts-regexp - Type-Level Regular Expressions matching with TypeScript
vite-plugin-vitest-typescript-assert - 🔥 TypeScript type assertion plugin for vitest
tabdb - Using browser tabs as a database like only a maniac would
sum-types - Safe, ergonomic, non-generic sum types in TypeScript.
ts-lambda-calc - Type-Level Lambda Calculus interpreter with TypeScript
tsd - Check TypeScript type definitions
typefuck - Type-level Brainfuck interpreter in TypeScript
eslint-plugin-functional - ESLint rules to disable mutation and promote fp in JavaScript and TypeScript.
remark-typescript-tools
lambda-ioc - Super type safe dependency injection 💉 for TypeScript (inspired by Diddly)
reselect - Selector library for Redux