Skip to content

fix(language-service): add document highlights support #1514

fix(language-service): add document highlights support

fix(language-service): add document highlights support #1514

Triggered via pull request March 10, 2025 20:16
Status Failure
Total duration 29s
Artifacts

pkg.pr.new.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
build: packages/language-service/lib/plugins/vue-document-highlights.ts#L34
Property 'fileName' does not exist on type 'DocumentHighlightsItem | DocumentHighlights'.
build: packages/language-service/lib/plugins/vue-document-highlights.ts#L35
Type 'HighlightSpan[] | HighlightSpan[]' is not assignable to type 'HighlightSpan | readonly HighlightSpan[]'.
build: packages/language-service/lib/plugins/vue-document-highlights.ts#L36
Argument of type '({ textSpan, kind }: { textSpan: any; kind: any; }) => { range: { start: Position; end: Position; }; kind: 1 | 2 | 3; }' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => { range: { start: Position; end: Position; }; kind: 1 | 2 | 3; }'.
build
Process completed with exit code 2.