Okay so basically just "inline":
class MyType(TypedDict):
a: str
b: int
or infer the type hint in:
my_typed_dict: dict[str, int] = {"a": 5}
It should probably be something like:
auto_typed: dict[typing.Const, typing.Const] = {"a": 5}
where typing.Const defaults to Any for an empty dict.