Skip to content

Typescript Apphost - "arguments" cannot be used in strict mode #16789

@tjwald

Description

@tjwald

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

arguments is a reserved keyword in javascript/typescript - so any variable/parameter/field/property declared as arguments in C# would be translated to a reserved keyword.

Describe the solution you'd like

Add this rule to the static code analyzer to prevent arguments from being emitted in typescript
OR
emit args instead of arguments during code generation by default.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-polyglotIssues related to polyglot apphosts

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions