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
Is it possible to fix this DeepMap issue which isn't supported by TypeScript out of the box?
Property 'yearly_holidays' does not exist on type 'DeepMap<PayrollContract, FieldError> | DeepMap<FreelanceContract, FieldError>'.
Property 'yearly_holidays' does not exist on type 'DeepMap<FreelanceContract, FieldError>'.
I was looking at ValueOf or LiteralUnion, but not sure if I do understand it correctly.
Hi there,
I'm nt sure if I do understand your examples correctly. But I have the following types:
Is it possible to fix this DeepMap issue which isn't supported by TypeScript out of the box?
I was looking at
ValueOf
orLiteralUnion
, but not sure if I do understand it correctly.In my component it looks like:
When I hover contract, it knows that it's one of
ON_PAYROLL
orFREELANCE
.Thanks in advance.
Upvote & Fund
The text was updated successfully, but these errors were encountered: