Skip to content

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

fix(language-service): add document highlights support

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

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

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors
build (18, ubuntu-latest): packages/language-service/lib/plugins/vue-document-highlights.ts#L34
Property 'fileName' does not exist on type 'DocumentHighlightsItem | DocumentHighlights'.
build (18, ubuntu-latest): packages/language-service/lib/plugins/vue-document-highlights.ts#L35
Type 'HighlightSpan[] | HighlightSpan[]' is not assignable to type 'HighlightSpan | readonly HighlightSpan[]'.
build (18, ubuntu-latest): 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 (18, ubuntu-latest)
Process completed with exit code 2.
build (18, windows-latest)
The job was canceled because "_18_ubuntu-latest" failed.
build (18, windows-latest)
The operation was canceled.
build (18, macos-latest)
The job was canceled because "_18_ubuntu-latest" failed.
build (18, macos-latest)
The operation was canceled.