mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-20 03:32:29 +02:00
chore(deps): bump all dependencies; regenerate lockfile (#6580)
This commit is contained in:
parent
d8eac86775
commit
661bc32402
18 changed files with 1416 additions and 1767 deletions
|
@ -74,8 +74,8 @@ type FacetFilters = Required<
|
|||
function mergeFacetFilters(f1: FacetFilters, f2: FacetFilters): FacetFilters {
|
||||
const normalize = (
|
||||
f: FacetFilters,
|
||||
): readonly string[] | ReadonlyArray<readonly string[]> =>
|
||||
f instanceof Array ? f : [f];
|
||||
): readonly string[] | ReadonlyArray<string | readonly string[]> =>
|
||||
typeof f === 'string' ? [f] : f;
|
||||
return [...normalize(f1), ...normalize(f2)] as FacetFilters;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue