Closed Ayc0 closed 1 year ago
In TS 4.8, they changed the fact that generic have to be contraints to be able to be assigned to objects.
https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-no-longer-assignable-to
This PR:
{}
WithArity
@typescript-eslint/*
It can build:
And the tests pass:
Also the type inference seems okay:
Released in 3.2.0-rc.14
In TS 4.8, they changed the fact that generic have to be contraints to be able to be assigned to objects.
https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-no-longer-assignable-to
This PR:
{}
so that they can be assigned toWithArity
@typescript-eslint/*
because otherwise this fails:Tests
It can build:
And the tests pass:
Also the type inference seems okay: