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