TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Ts-essentials – Reusable, type-safe, TypeScript types

1 pointsby krzkaczoralmost 6 years ago

1 comment

krzkaczoralmost 6 years ago
Hi, the author here.<p>Some time ago I noticed that many of my TypeScript projects share similar types and I decided to extract them to common library. Since then I was joined by many awesome contributors.<p>ts-essentials is a nice addition to standard TypeScript library with deep*, recursive types like DeepPartial or DeepReadonly. Turns out, there are many edge cases while implementing those, just take a look: <a href="https:&#x2F;&#x2F;github.com&#x2F;krzkaczor&#x2F;ts-essentials&#x2F;blob&#x2F;master&#x2F;lib&#x2F;types.ts#L9" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;krzkaczor&#x2F;ts-essentials&#x2F;blob&#x2F;master&#x2F;lib&#x2F;t...</a><p>I am here if you have any questions!