Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
shaobeichen opened this issue May 16, 2024 · 2 comments
Closed

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

shaobeichen opened this issue May 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@shaobeichen
Copy link

shaobeichen commented May 16, 2024

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.

@shaobeichen shaobeichen added the bug Something isn't working label May 16, 2024
@kevinramharak
Copy link
Contributor

I think other locales than english are not supported yet, see #27.

@yoavbls
Copy link
Owner

yoavbls commented May 18, 2024

Thank you @kevinramharak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants