1You can't subscript TypedDict; you're meant to instantiate or subclass one according to the docs:
2
3Point2D = TypedDict('Point2D', x=int, y=int, label=str)
4Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str})
5With that in mind, you can just inline that in your signature:
6
7def x(a: TypedDict('A', x=int)):
8 pass