TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 krzkaczor将近 6 年前

1 comment

krzkaczor将近 6 年前
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!