Y
Hacker News
new
|
ask
|
show
|
jobs
by
srcreigh
2015 days ago
The tsdef library has a Nilable<T> type that means T | undefined | null. It's not so bad to type with a snippet like ?<tab> => Nilable<|>.
1 comments
shhsshs
2015 days ago
That snippet is a great idea, thanks!
link