TypeScript Stories
@typescripts
62
subscribers
40
links
Download Telegram
Join
TypeScript Stories
62 subscribers
TypeScript Stories
2️⃣
7️⃣
❓
No error when no overlapping with
null
or
undefined
?
▶️
Playground
TypeScript Stories
2️⃣
8️⃣
❓
No error when destructuring non-existent element with default value?
▶️
Playground
TypeScript Stories
2️⃣
9️⃣
🤔
Destructuring from
never[]
is of type
undefined
.
▶️
Playground
TypeScript Stories
3️⃣
0️⃣
❌
Assign non-nullable type
{}
to non-primitive
object
.
▶️
Playground
TypeScript Stories
3️⃣
1️⃣
❌
Incrementing literal type in
for
loop.
▶️
Playground
TypeScript Stories
3️⃣
2️⃣
❌
Wrong type inference with
Capitalize
and
Uncapitalize
utility types.
▶️
Playground
❤
1
🌚
1