Skip to content

v2 doesn't generate JSDoc compatible comments #161

@Jiia

Description

@Jiia

Thanks for the amazing library! We just updated from v1 to v2 and the improvements are great. However we noticed one regression in our use case.

Comments generated by V1.0:

/** This is a column comment */

Comments generated by V2.0:

/* This is a column comment */

Comments with a single asterisk at the start are not JSDoc compatible. Hence IDE's such as VSCode don't show them when peeking at the type definition.

Header Header Header
Image Image Image

@rmp135/sql-ts v2.2.0
Postgres v17
Node v20.19.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions