Support for generic TypedDict
R = TypeVar("R")
FileCachedData = TypedDict('FileCachedData', {'mtime': float, 'size': int, 'value': R})
mypy complains about R in the TypedDict declaration. I would expect that I could declare a generic TypedDict like this.