🔟
❌
▶️ Playground
🤨 But
▶️ Playground
❌
Brand as key of Record might be type unsafe.▶️ Playground
🤨 But
Flavour as key of Record is just OK.▶️ Playground
1️⃣2️⃣
❌ No error on
❌ No error on
Record<string, number> addition assignments with "compilerOptions": {
"noUncheckedIndexedAccess": true
}
▶️ Playground