rescript-association / genType

Auto generation of idiomatic bindings between Reason and JavaScript: either vanilla or typed with TypeScript/FlowType.

Home Page:https://rescript-lang.org/docs/gentype/latest/introduction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate TypeScript docstrings from rescript source

sgrove opened this issue · 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

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

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