Skip to content

Commit

Permalink
Fix failing tests after DefinitelyTyped#67455
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Nov 21, 2023
1 parent 7aa2514 commit 907a9f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/tablesorter/System/TriggerNameMap.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface TriggerNameMap<TElement = HTMLElement> {
/**
* Performs a search.
*/
search: [readonly string[]?] | boolean;
search: [(readonly string[])?] | boolean;

/**
* Opens the specified page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface AnyRecord {
const serializable: AnyRecord = { any: "serializable" };

structuredClone(serializable); // $ExpectType AnyRecord
structuredClone.serialize({ any: "serializable" }); // $ExpectType SerializedRecord
structuredClone.serialize({ any: "serializable" }); // $ExpectType [SerializedRecordIndex[], ...[number, any][]]
// prettier-ignore
structuredClone.deserialize([ // $ExpectType any
[2, [[1, 2]]],
Expand Down

0 comments on commit 907a9f3

Please sign in to comment.