惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
博客园 - Franky
The Cloudflare Blog
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
B
Blog
Y
Y Combinator Blog
V
V2EX
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
博客园 - 司徒正美
IT之家
IT之家
G
Google Developers Blog
C
Check Point Blog
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Tong-H

about fitness [ Tong-H ] 自媒体 [ Tong-H ] OpenClaw + 即梦自动运营小红书 [ Tong-H ] 202512 [ Tong-H ] nonsense [ Tong-H ] 基于 Playwright 的开发辅助工具-dev-playkit [ Tong-H ] 202509-202511 [ Tong-H ] CAT-TV [ Tong-H ] 202508/09 [ Tong-H ] AI 实践-DeepWiki-open 为项目生成 wiki 文档 [ Tong-H ] ai 实践-项目迁移 [ Tong-H ] 在富文本编辑器中处理图文资源 [ Tong-H ] 2025-07 [ Tong-H ] how to stew meat [ Tong-H ] AI 实践-Memory Bank [ Tong-H ] Maxillofacial fracture [ Tong-H ] 2025-06/07 [ Tong-H ] ai [ Tong-H ] some day [ Tong-H ] day [ Tong-H ] 升级老项目的包依赖 [ Tong-H ] 2025-05 [ Tong-H ] 2025-04 [ Tong-H ]
2025-03 [ Tong-H ]
2025-03-01 · via Tong-H

1541Daily Snippets2025-03-012026-06-01

2025/03/23

2025/03/16

2025/03/08

  • incorrect merge two union types using & results in never.

  • merging types with conflicting property results in never, whereas merging such conflicts in an interface triggers a compile-time error.”

    1
    2
    3
    type A = { id: string };
    type B = { id: number };
    type C = A & B;
  • changes in dates during rebase. git tracks two date timestamps Author Date and Committer Date. git rebase can modifies commit history, which affects committerDate. the default behavior preserves authorDate, and updates committerDate to the rebase time

    • authorDate (Creation Date) – When the commit was created.
    • committerDate (Last Modified Date) – When the commit was last modified.
    • git rebase --ignore-date ensures both authorDate and committerDate remain unchanged
  • TS的enum编译为IIFE(立即执行函数)