cursorless
cursorless copied to clipboard
Support `"type"` for extends
function getSectionKeyMap<T extends KeyDescriptor["type"]>(type: T) {}
In the above, I'd like to be able to say "type" within KeyDescriptor["type"] to get KeyDescriptor["type"]. Alternately, we could support "value"? Should think about how to get T, and what domains should be