Example:
from typing import TypedDict
class MyType(TypedDict):
a: int
b: int
t = MyType(a=1, b=2)
t.update(b=3)
mypy toy.py
complains
toy.py:9:1: error: Unexpected keyword argument "b" for "update" of "TypedDict"
Found 1 error in 1 file (checked 1 source file)