6 ms·
Good work! `type<T>` (generic types) can mimic dependent types for this?
by VivaTechnics 1y ago
Good work!
`type<T>` (generic types) can mimic dependent types for this?
- vlaaad 1y agoNot sure; the schema of the Props argument depends on the value — not type — of another argument, so it's not just generics.