tsd
Check TypeScript type definitions (by tsdjs)
eslint-plugin-expect-type
ESLint plugin with ^? Twoslash, $ExpectError, and $ExpectType type assertions. 🧩 (by JoshuaKGoldberg)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
tsd | eslint-plugin-expect-type | |
---|---|---|
9 | 3 | |
2,321 | 88 | |
1.4% | - | |
7.1 | 9.6 | |
about 2 months ago | 2 days ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
tsd
Posts with mentions or reviews of tsd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-07.
-
How I unit tested types
Nice. Have you checked out tsd? Would you consider your library to be a viable alternative to tsd?
-
How to test TypeScript type definitions with Jest
The library we're going to use to execute these static type tests is one that I made called jest-tsd. It's a wrapper around tsd to make it really easy to use with Jest.
-
Typing is good but testing is better!?
But even with a very strict TS/ESLint configuration, you can't avoid a typing error. I looked for libraries to test types and I was very surprised to see that it is not a very common practice and there is not much choice. The most popular one seems to be tsd, unfortunately like all the other libs I found, it does not integrate with existing tools.
-
tsd VS vite-plugin-vitest-typescript-assert - a user suggested alternative
2 projects | 18 Jul 2022
-
Testing TS Type Inference
How is this different than tsd ? https://github.com/SamVerschueren/tsd
-
How to generate declaration for only public members of a package?
Yep. Similarly I'm surprised there's no built in way to test typescript definitions, so I end up using tsd.
-
Is there any known way to measure coverage of... types?
``` import {expectType} from 'tsd';import concat from '.';expectType(concat('foo', 'bar'));expectType(concat(1, 2)); ``` https://github.com/SamVerschueren/tsd
- How to correctly test Typescript where type errors *should* arise
- Looking to improve typescript skills (specifically around type annotations)
eslint-plugin-expect-type
Posts with mentions or reviews of eslint-plugin-expect-type.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-18.
-
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?
When comparing tsd and eslint-plugin-expect-type you can also consider the following projects:
vite-plugin-vitest-typescript-assert - 🔥 TypeScript type assertion plugin for vitest
nominal - Powerful nominal types for your Typescript project
sum-types - Safe, ergonomic, non-generic sum types in TypeScript.
typings - *DEPRECATED* The TypeScript Definition Manager
rubygems - Library packaging and distribution for Ruby.
eslint-plugin-functional - ESLint rules to disable mutation and promote fp in JavaScript and TypeScript.
DefinitelyTyped - The repository for high quality TypeScript type definitions.
lambda-ioc - Super type safe dependency injection 💉 for TypeScript (inspired by Diddly)
just-types - A collection of handy Typescript types.
typefuck - Type-level Brainfuck interpreter in TypeScript
tsd vs vite-plugin-vitest-typescript-assert
eslint-plugin-expect-type vs nominal
tsd vs sum-types
eslint-plugin-expect-type vs vite-plugin-vitest-typescript-assert
tsd vs typings
eslint-plugin-expect-type vs sum-types
tsd vs rubygems
eslint-plugin-expect-type vs eslint-plugin-functional
tsd vs DefinitelyTyped
eslint-plugin-expect-type vs lambda-ioc
tsd vs just-types
eslint-plugin-expect-type vs typefuck