-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
This issue is for adding support for mapped types in TS.
Depending on the key representation of this given type, we could either have it as:
- A
JSRecord(not to be confused with the current implementation of a JS record inpackage:js_interopas this one will need generics on both key and value) - An anonymous object representation for cases of
keyof <type>
This also considers modifications on readonly, nullability, typing (using as casts), and others.
If it is possible to get some resolution of the type by the type checker, it would be helpful to do so. Keys that resolve to never should be removed.
Reactions are currently unavailable