Skip to content

Commit

Permalink
update type spec
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Oct 13, 2022
1 parent 67655b2 commit 7dce7f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/flop.ex
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ defmodule Flop do
"""
@type option ::
{:cursor_value_func, (any, [atom] -> map)}
| {:default_limit, pos_integer}
| {:default_limit, pos_integer | false}
| {:default_order,
%{
required(:order_by) => [atom],
Expand All @@ -449,7 +449,7 @@ defmodule Flop do
| {:default_pagination_type, pagination_type()}
| {:filtering, boolean}
| {:for, module}
| {:max_limit, pos_integer}
| {:max_limit, pos_integer | false}
| {:order_query, Ecto.Queryable.t()}
| {:ordering, boolean}
| {:pagination, boolean}
Expand Down

0 comments on commit 7dce7f1

Please sign in to comment.