mypy-extras
mypy-extras copied to clipboard
Create `KeyOf[DictInstance, Key]` type
Key
must be a strict key of a given dict
.
For TypedDict
it will fetch the exact type, for regular Dict
it will return just a value type.