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