Open Wouter8 opened 1 year ago
I'm wondering if combined types (using &) and Omitted fields (using Omit<> ) are supported.
Unfortunately not supported. Sorry.
In general: I think no Utility Type is currently handled (with exception of NonNullable
)
Many of the utility types are based on mapped types and conditional types which can't really be translated into F#'s type system.
I'm wondering if combined types (using
&
) and Omitted fields (usingOmit<>
) are supported. I understand that these features are not supported by F#, but I was hoping that this tool had a workaround for it.I tried it in the online demo and it seems
ts2fable
simply doesn't even try.Input:
Output: