Skip to content

Typescript - Generate accessors autofix removes readonly modifier #81135

Closed

Description

@slaneyrw
  • VSCode Version: 1.38.0 (system setup)
  • OS Version: Windows_NT x64 10.0.15063

Steps to Reproduce:

  1. Create private field with readonly modifier
  2. Highlight line and generate accessors
  3. get property created without set property ( correct ), but readonly modifier removed from field

Does this issue occur when all extensions are disabled?: Yes

Activity

  1. mjbvz commented on Sep 19, 2019

    @mjbvz
    Contributor

    This feature is powered by the TypeScript project. Please file a bug report upstream

  2. added
    javascriptJavaScript support issues
    upstreamIssue identified as 'upstream' component related (exists outside of VS Code)
    typescriptTypescript support issues
    on Sep 19, 2019
  3. locked and limited conversation to collaborators on Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

javascriptJavaScript support issuestypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions