How to validate `Record<string, string>`?
My naïve attempt:
This results in error:
3 Replies
^ works
makes sense
Soon™️
type("Record<string, string>")
will work too :)
But yeah, for now you have to use index signaturesIt will be genuinely soon! I just want to get the docs done first for the stuff that is already there like this 😛
Then finishing up generics and pattern matching will be like my victory lap