Skip to content

Commit

Permalink
update encode_opt typespec for pretty: false (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsel authored and michalmuskala committed Jun 21, 2019
1 parent cbff5c6 commit e44decf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jason.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Jason do
@type escape :: :json | :unicode_safe | :html_safe | :javascript_safe
@type maps :: :naive | :strict

@type encode_opt :: {:escape, escape} | {:maps, maps} | {:pretty, true | Formatter.opts()}
@type encode_opt :: {:escape, escape} | {:maps, maps} | {:pretty, boolean | Formatter.opts()}

@type keys :: :atoms | :atoms! | :strings | :copy | (String.t() -> term)

Expand Down

0 comments on commit e44decf

Please sign in to comment.