Skip to content

[TS] Reserved words are not allowed as arguments #6955

@tira-misu

Description

@tira-misu

Hi,

The code generator generates reserved words as arguments for methods.

table Test {
delete: string; // <- this will produce non working .ts code
symbol: string; // <- this also did not work
constructor: string; // <- this works (its an 'contextual keyword')
}
root_type Test

I will make an pull request to fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions