Skip to content

Commit

Permalink
Fix isOrderedSet type (#1948)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Aug 1, 2023
1 parent a4eaaf0 commit 40e5945
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion type-definitions/immutable.d.ts
Expand Up @@ -1913,7 +1913,9 @@ declare namespace Immutable {
/**
* True if the provided value is an OrderedSet.
*/
function isOrderedSet(maybeOrderedSet: unknown): boolean;
function isOrderedSet(
maybeOrderedSet: unknown
): maybeOrderedSet is OrderedSet<unknown>;

/**
* Creates a new OrderedSet containing `values`.
Expand Down

0 comments on commit 40e5945

Please sign in to comment.