tsd
nominal
tsd | nominal | |
---|---|---|
9 | 3 | |
2,321 | 66 | |
1.4% | - | |
7.1 | 8.3 | |
about 2 months ago | 18 days ago | |
TypeScript | TypeScript | |
MIT License | 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.
tsd
-
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)
nominal
- Is there any known way to measure coverage of... types?
-
A humble proposal to improve Node <-> Deno compatibility
I'm working on a very simple library, Nominal. Nominal works both in Node and Deno, although I had to write some scripts to transform the code for Deno (mostly to add file extensions to the import statements).
-
@coderspirit/nominal - Crazily powerful nominal types on Typescript
The repo: https://github.com/Coder-Spirit/nominal
What are some alternatives?
vite-plugin-vitest-typescript-assert - 🔥 TypeScript type assertion plugin for vitest
eslint-plugin-expect-type - ESLint plugin with ^? Twoslash, $ExpectError, and $ExpectType type assertions. 🧩
sum-types - Safe, ergonomic, non-generic sum types in TypeScript.
typegoose - Typegoose - Define Mongoose models using TypeScript classes.
typings - *DEPRECATED* The TypeScript Definition Manager
lambda-ioc - Super type safe dependency injection 💉 for TypeScript (inspired by Diddly)
rubygems - Library packaging and distribution for Ruby.
tsParticles - tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.
DefinitelyTyped - The repository for high quality TypeScript type definitions.
wikari - 💡 A NodeJS TS library to control Philips WiZ bulbs.