Effect CommunityEC
Effect Community16mo ago
14 replies
spaethnl

TypeScript: Restrict Record Keys to Specific Characters

Is it possible to define a Record that only allows keys with certain characters? For example, only keys that are some combination of 'a'|'b'|'c' to an arbitrary length?
Was this page helpful?