```python from typing import Any, Optional, TypeVar _T = TypeVar('_T') def f(b: bool = True, **kwargs: Any) -> None: pass def g(x: _T) -> _T: f(**{'x': x}) return x ``` gives ``` a.py:9: error: Argument 1 to "f" has incompatible type "**Dict[str, _T]"; expected "bool" ```