typings
tsd
typings | tsd | |
---|---|---|
3 | 9 | |
3,412 | 2,315 | |
- | 1.1% | |
10.0 | 7.1 | |
almost 7 years ago | about 1 month 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.
typings
- Augment react-router module with react-router-relay typings
-
React - using TypeScript vs Flow vs?
I really like TypeScript. I think it reduces the pain of developing JavaScript applications quite a lot, thanks to type checking and other neat features. Visual Studio Code also offers a really nice code completion. And I know that I can make it work with React by using typings + DenifitelyTyped.
-
The future of rbs collection
I think git clone is a good compromise for now. It is the same phase of tsd or typings of TypeScript. We needed a simple RBS manager now as you can see from the previous article.
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)
What are some alternatives?
RubyGems - The Ruby community's gem hosting service.
vite-plugin-vitest-typescript-assert - 🔥 TypeScript type assertion plugin for vitest
gem_rbs_collection - A collection of RBS for gems.
sum-types - Safe, ergonomic, non-generic sum types in TypeScript.
yarn - The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
eslint-plugin-expect-type - ESLint plugin with ^? Twoslash, $ExpectError, and $ExpectType type assertions. 🧩
rubygems - Library packaging and distribution for Ruby.
DefinitelyTyped - The repository for high quality TypeScript type definitions.
just-types - A collection of handy Typescript types.
nominal - Powerful nominal types for your Typescript project
lambda-ioc - Super type safe dependency injection 💉 for TypeScript (inspired by Diddly)
ts-inference-check - Check if type inference is correct