DEV Community

Discussion on: Row Polymorphic Records for More Type Safety in Typescript

Collapse
allforabit profile image
allforabit

I can't quite see why the second example doesn't type check?

Collapse
allforabit profile image
allforabit

Oh now I see it, both T's have to be the same shape.