yarn add prettier@latest #3678
Annotations
8 errors
src/BrowserModuleResolver.ts#L66
Type '(source: string, options: PrettierOptions) => Promise<string>' is not assignable to type '(source: string, options?: Options | undefined) => string'.
|
src/BrowserModuleResolver.ts#L67
Type '({ parsers: { __ng_action: Parser<any>; __ng_binding: Parser<any>; __ng_interpolation: Parser<any>; __ng_directive: Parser<any>; }; } | { parsers: { babel: Parser<...>; ... 7 more ...; __vue_event_binding: Parser<...>; }; } | ... 6 more ... | { ...; })[]' is not assignable to type '(string | Plugin<any>)[]'.
|
src/extension.ts#L43
Argument of type 'typeof import("/Users/runner/work/prettier-vscode/prettier-vscode/node_modules/prettier/index")' is not assignable to parameter of type 'PrettierModule'.
|
src/extension.ts#L49
Argument of type 'ModuleResolver' is not assignable to parameter of type 'ModuleResolverInterface'.
|
src/ModuleResolver.ts#L110
Property 'getGlobalPrettierInstance' in type 'ModuleResolver' is not assignable to the same property in base type 'ModuleResolverInterface'.
|
src/ModuleResolver.ts#L160
Property 'getPrettierInstance' in type 'ModuleResolver' is not assignable to the same property in base type 'ModuleResolverInterface'.
|
src/PrettierMainThreadInstance.ts#L61
Unused '@ts-expect-error' directive.
|
|
This job failed
Loading