params_options should accept a [map], not a map

pull/255/head
Luke Imhoff 7 years ago
parent d3ea7c251a
commit f27b162b30
  1. 2
      apps/explorer/lib/explorer/chain.ex

@ -52,7 +52,7 @@ defmodule Explorer.Chain do
@typep on_conflict_option :: {:on_conflict, :nothing | :replace_all} @typep on_conflict_option :: {:on_conflict, :nothing | :replace_all}
@typep pagination_option :: {:pagination, pagination} @typep pagination_option :: {:pagination, pagination}
@typep paging_options :: {:paging_options, PagingOptions.t()} @typep paging_options :: {:paging_options, PagingOptions.t()}
@typep params_option :: {:params, map()} @typep params_option :: {:params, [map()]}
@typep timeout_option :: {:timeout, timeout} @typep timeout_option :: {:timeout, timeout}
@typep timestamps :: %{inserted_at: DateTime.t(), updated_at: DateTime.t()} @typep timestamps :: %{inserted_at: DateTime.t(), updated_at: DateTime.t()}
@typep timestamps_option :: {:timestamps, timestamps} @typep timestamps_option :: {:timestamps, timestamps}

Loading…
Cancel
Save