Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
VivaTechnics
· 1y ago · 0 comments
Good work! `type<T>` (generic types) can mimic dependent types for this?
Comments
[–]
vlaaad
1y ago
Not sure; the schema of the Props argument depends on the value — not type — of another argument, so it's not just generics.