When a function argument is annotated using a TypeVar with a bound that is a TypedDict, using setdefault on it leads to an error.