Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
sedro
· 4y ago · 0 comments
And the purpose of "T extends string" is to carry the value of a string literal. For example, there's the string value "foo", but there's also a
type
"foo" which extends string and has only the one possible value.
Comments
No comments yet.
Better HN