Skip to content

Update typescript version #1389

@WORMSS

Description

@WORMSS

It seems the version number for typescript inside vetur package.json is

"typescript": "^3.3.3333",

I was hoping I could get this upped to 3.5? Or 3.4 at the least?

I have valid code in my typescript files, and actually compiles correctly, but linting in .vue files reports that

class A {
  private readonly a: readonly string[] = [];
}

is invalid.
image

but no problem in .ts file
image

vscode 1.37.0
os: windows
vetur: 0.22.1

Metadata

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