Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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<|>.


That snippet is a great idea, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: