kit icon indicating copy to clipboard operation
kit copied to clipboard

Handle generics when converting JS code samples to TS

Open Rich-Harris opened this issue 2 years ago • 0 comments

Describe the problem

This is pretty confusing if you're looking at the docs in TypeScript mode:

image

Describe the proposed solution

Include generics in the generated TS

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

Rich-Harris avatar Nov 28 '22 20:11 Rich-Harris