Our great sponsors
-
riux
📦 Fully typed and immutable store made on top of Immer with mutation, action, subscription and validation!
-
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.
In most cases you don't need it. But when you start creating types that produce new complex types, you need to make sure they are valid. My personal use case is for testing libraries like riux which will type an immutable store API from raw data.
In this case how do I test a type utility library like type-fest? This plugin is not intended to test JavaScript code but TypeScript types!
Related posts
- 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
- Adding type safety to object IDs in TypeScript