Types or test-support/reorder are not correct
The current type declaration is
```ts
export declare function reorder<T extends keyof HTMLElementTagNameMap>(mode: TMode, itemSelector: string, ...resultSelectors: T[]): Promise<void>;
```
which only allows for HTML Element tag names (such as 'a', 'div', 'li') to be used as resultSelector
The example in the source file:

also throws a type error

关闭于 2024-10-03 0 条评论