Patch Changes
-
0bbb176: Refine generic typings using
extends X
when appropriateTypescript 4.7 has stricter requirements around generics
which is explained well in the related PR:
microsoft/TypeScript#48366These changes resolve the errors that these packages will
face when attempting to upgrade to TS 4.7 (still in beta
at the time of writing this). Landing these changes now
will allow other TS libraries which depend on these
packages to experiment with TS 4.7 in the meantime.