Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
phpnode
88 days ago
|
parent
|
context
|
favorite
| on:
Type-checked non-empty strings
yup, it's not possible to do it safely with a simple unparameterised type:
https://www.typescriptlang.org/play/?#code/C4TwDgpgBAcg9gOwK...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: