Skip to content

Doc comments for generated TypeScript bindings #39

Open
@varungandhi-src

Description

I noticed this weirdness after updating the doc comments and not noticing any change in the generated TypeScript bindings. 96b8a17

export enum SyntaxKind {
UnspecifiedSyntaxKind = 0,
Comment = 1,
PunctuationDelimiter = 2,
PunctuationBracket = 3,
IdentifierKeyword = 4,
IdentifierOperator = 5,
Identifier = 6,
IdentifierBuiltin = 7,
IdentifierNull = 8,
IdentifierConstant = 9,
IdentifierMutableGlobal = 10,
IdentifierParameter = 11,
IdentifierLocal = 12,
IdentifierShadowed = 13,
IdentifierModule = 14,
IdentifierFunction = 15,
IdentifierFunctionDefinition = 16,
IdentifierMacro = 17,
IdentifierMacroDefinition = 18,
IdentifierType = 19,
IdentifierBuiltinType = 20,
IdentifierAttribute = 21,
RegexEscape = 22,
RegexRepeated = 23,
RegexWildcard = 24,
RegexDelimiter = 25,
RegexJoin = 26,
StringLiteral = 27,
StringLiteralEscape = 28,
StringLiteralSpecial = 29,
StringLiteralKey = 30,
CharacterLiteral = 31,
NumericLiteral = 32,
BooleanLiteral = 33,
Tag = 34,
TagAttribute = 35,
TagDelimiter = 36
}

I wonder if there is a setting we can change (or a different compatible protobuf generator we can use) to make sure that doc comments are preserved. It feels a little weird that this doesn't work out-of-the-box. 😕

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions