You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use Exact with my function input, I am seeing the following error from typescript type checking:
Property 'union' is incompatible with index signature.
Type 'string' is not assignable to type 'never'.
Type 'string' is not assignable to type 'never'.(2345)
Here is the code which uses the Exact type with my func to validate the input object.
When trying to use
Exact
with my function input, I am seeing the following error from typescript type checking:Here is the code which uses the
Exact
type with myfunc
to validate the input object.ParamType
and theInput
are both the same.Playground Link
Is my expectation of what
Exact
should be doing here wrong?The text was updated successfully, but these errors were encountered: