dataclasses-json icon indicating copy to clipboard operation
dataclasses-json copied to clipboard

chore: improved type annotation

Open jackgene opened this issue 3 years ago • 2 comments

This resolves https://github.com/lidatong/dataclasses-json/issues/336

And also makes the dataclass_json.core.Json type a little stricter.

jackgene avatar May 24 '22 12:05 jackgene

Please don’t merge this, it doesn’t work.

andersk avatar Aug 14 '22 20:08 andersk

Please don’t merge this, it doesn’t work.

Yeah, no worries not merging. We've already forked this for our purposes (we use PyRight for type-checking, which does not suffer from MyPy's limitations). I'll leave this open for now, just in case MyPy figures out recursive typing at some point in the future.

jackgene avatar Aug 14 '22 20:08 jackgene