WithoutKeys:[keyofT&Keys]extends[never] ?unknown :{ readonly[KinkeyofT&Keys]:"this key is reserved or already used by the screen" }
Forbids Keys on T: the handle is flat, so a data, action or item-list
key that repeats a reserved key or another member's key would silently
shadow it. defineScreen puts it into the constraints of its actions and
item lists, so such a declaration does not type-check, and the error names
the key.
Forbids
KeysonT: the handle is flat, so a data, action or item-list key that repeats a reserved key or another member's key would silently shadow it.defineScreenputs it into the constraints of its actions and item lists, so such a declaration does not type-check, and the error names the key.