Hacker News new | ask | show | jobs
by VivaTechnics 298 days ago
Good work! `type<T>` (generic types) can mimic dependent types for this?
1 comments

Not sure; the schema of the Props argument depends on the value — not type — of another argument, so it's not just generics.