ruff
71d8a5da - [ty] dataclasses: Allow using dataclasses.dataclass as a function. (#18440)

Commit
244 days ago
[ty] dataclasses: Allow using dataclasses.dataclass as a function. (#18440) ## Summary Part of https://github.com/astral-sh/ty/issues/111 Using `dataclass` as a function, instead of as a decorator did not work as expected prior to this. Fix that by modifying the dataclass overload's return type. ## Test Plan New mdtests, fixing the existing TODO.
Parents
Loading