Skip to content

Commit e44decf

Browse files
sebselmichalmuskala
authored andcommitted
update encode_opt typespec for pretty: false (michalmuskala#77)
1 parent cbff5c6 commit e44decf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jason.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule Jason do
88
@type escape :: :json | :unicode_safe | :html_safe | :javascript_safe
99
@type maps :: :naive | :strict
1010

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

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

0 commit comments

Comments
 (0)