---
source: crates/ruff_linter/src/rules/flake8_type_checking/mod.rs
---
TCH010_1.py:18:30: TCH010 Invalid string member in `X | Y`-style union type
   |
16 | type A = Value["int" | str]  # OK
17 | 
18 | OldS = TypeVar('OldS', int | 'str', str)  # TCH010
   |                              ^^^^^ TCH010
   |


