genType icon indicating copy to clipboard operation
genType copied to clipboard

Generate TypeScript docstrings from rescript source

Open sgrove opened this issue 3 years ago • 1 comments

It'd be nice to be able to pass through docstrings from rescript to TypeScript for consumers on hover, e.g.

current: Screen Shot 2022-07-01 at 15 06 19

with docstring passthrough: Screen Shot 2022-07-01 at 15 07 33

sgrove avatar Jul 01 '22 22:07 sgrove

Doc strings are attributes in the ast. This would be about just printing them next to the function they're attached to.

cristianoc avatar Jul 02 '22 01:07 cristianoc

This repository is being archived. If you feel like the issue still relevant, please re-create it in the compiler repo. Thanks!

ryyppy avatar Nov 13 '23 13:11 ryyppy