Fix dialyzer type specs
Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/a32a12f8 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/a32a12f8 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/a32a12f8 Branch: refs/heads/master Commit: a32a12f8b5262a975084ccf918390c650b0b4aff Parents: 454928f Author: Paul J. Davis <[email protected]> Authored: Wed Jul 15 18:43:06 2015 -0500 Committer: Paul J. Davis <[email protected]> Committed: Wed Jul 15 18:43:06 2015 -0500 ---------------------------------------------------------------------- src/jiffy.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/a32a12f8/src/jiffy.erl ---------------------------------------------------------------------- diff --git a/src/jiffy.erl b/src/jiffy.erl index 9edaa3a..6fc0fa3 100644 --- a/src/jiffy.erl +++ b/src/jiffy.erl @@ -23,7 +23,7 @@ -type json_number() :: integer() | float(). -type json_object() :: {[{json_string(),json_value()}]}. --type decode_result() :: json_value() +-type jiffy_decode_result() :: json_value() | {has_trailer, json_value(), binary()}. -type decode_option() :: return_maps @@ -37,7 +37,7 @@ | pretty | force_utf8 | escape_forward_slashes - | {bytes_per_iter, non_neg_integer()}, + | {bytes_per_iter, non_neg_integer()} | {bytes_per_red, non_neg_integer()}. -type decode_options() :: [decode_option()].
