rescript-compiler
rescript-compiler copied to clipboard
Gentype: preserve linebreaks in docstrings
Currently gentype doesn't seem to preserve JSDoc format in the output. I think it's a bug.
input:
/**
* Test
*/
@genType
type test = {
foo: int
}
output:
/** * Test */
export type test = { readonly foo: number };