Skip to content

feat: adds sort widget to search manager and library component page [FC-0059] #498

feat: adds sort widget to search manager and library component page [FC-0059]

feat: adds sort widget to search manager and library component page [FC-0059] #498

Triggered via pull request July 10, 2024 15:30
Status Failure
Total duration 2m 21s
Artifacts

validate.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
tests: src/search-manager/SearchManager.ts#L56
Type 'string | null' is not assignable to type 'string | undefined'.
tests: src/search-manager/SearchManager.ts#L57
Argument of type 'string | undefined' is not assignable to parameter of type 'SearchSortOption'.
tests: src/search-manager/SearchManager.ts#L60
Argument of type '{ sort: SearchSortOption; append(name: string, value: string): void; delete(name: string): void; get(name: string): string | null; getAll(name: string): string[]; ... 8 more ...; size: number; }' is not assignable to parameter of type 'URLSearchParamsInit | ((prev: URLSearchParams) => URLSearchParamsInit) | undefined'.
tests: src/search-manager/SearchManager.ts#L91
Type '(string | undefined)[]' is not assignable to type 'SearchSortOption[]'.
tests: src/search-manager/SearchManager.ts#L107
No overload matches this call.
tests
Process completed with exit code 2.
tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/