Y
Hacker News
new
|
ask
|
show
|
jobs
by
yencabulator
160 days ago
Option<Option<T>> works fine, T | undefined | undefined doesn't. Typescript does weird things because they wanted to make it backwards compatible with Javascript.