The following shows no errors (see mypy Playground):
from typing import TypedDict
@abc
@efg.hij
@klm[nop]
@qrs.tuv[wxy]
class A(TypedDict):
pass
This only seems to occur on decorator expressions which also look like annotation expressions.
- Mypy version used: 1.19.1, master