We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2498375 commit 56ff170Copy full SHA for 56ff170
1 file changed
lib/jsonpatch/types.ex
@@ -32,7 +32,7 @@ defmodule Jsonpatch.Types do
32
- `:keys` - controls how path fragments are decoded.
33
"""
34
@type opts :: [{:keys, opt_keys()}]
35
- @type opts_diff :: [{:ancestor_path, String.t()} | {:prepare_map, (struct() -> map())}]
+ @type opts_diff :: [{:ancestor_path, String.t()} | {:prepare_map, (struct() | map() -> map())}]
36
37
@type casted_array_index :: :- | non_neg_integer()
38
@type casted_object_key :: atom() | String.t()
0 commit comments