
























1541Daily Snippets2025-03-012026-06-01
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 | type A = { id: string }; |
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 unchangedTS的enum编译为IIFE(立即执行函数)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。