Skip to content

In Vue and TS file, error no format, after i installed plugin #108

@shaobeichen

Description

@shaobeichen

Describe the bug
In Vue and TS file, error no format, after i installed plugin

Expected behavior
In Vue and TS file, error is formated, after i installed plugin

Original error

interface A {
  a?: string
  b?: number
  c?: {
    d?: string
    e?: number
  }
}

type C = A['c']

const c: C = {
  ddd: 1,
}
Object literals can only specify known properties, and 'ddd' is not in type '{d?: string | undefined; e?: number | undefined;}'. TS2353

Screenshots
image

This is a easy example, error no format, and i found all Vue ts file error is no format,
i installed plugin, i don't know if it was my use mistake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsfeature requestRequest a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions