Closed shaobeichen closed 2 months ago
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
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.
I think other locales than english are not supported yet, see #27.
Thank you @kevinramharak
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
Object literals can only specify known properties, and 'ddd' is not in type '{d?: string | undefined; e?: number | undefined;}'. TS2353
Screenshots![image](https://github.com/yoavbls/pretty-ts-errors/assets/18715564/b1cb8e1b-8086-45eb-b7db-dc76d7e91914)
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.