runtyping icon indicating copy to clipboard operation
runtyping copied to clipboard

Generics are not generated properly

Open AsPulse opened this issue 2 years ago • 3 comments

  • Same as #398 Issue was closed, but I tried and failed... Am I doing something wrong...?

Generated:

Record({ abc: <{ data: string; } extends any, > ({ data: string; }: Runtype<{ data: string; }>,) => Record({ data: String, }).And(Record({ count: Number, })),});

I don't think the bottom part is necessary and gills in my opinion. Is it necessary for some generative process...? <{ data: string; } extends any, > ({ data: string; }: Runtype<{ data: string; }>,) =>

AsPulse avatar Sep 10 '22 02:09 AsPulse