Skip to content

Commit

Permalink
add type for strings option
Browse files Browse the repository at this point in the history
  • Loading branch information
paulswartz authored and michalmuskala committed Jan 5, 2018
1 parent 44e188c commit b459ee4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/jason.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ defmodule Jason do

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

@type decode_opt :: {:keys, keys}
@type strings :: :reference | :copy

@type decode_opt :: {:keys, keys} | {:strings, strings}

alias Jason.{Encode, Decoder, DecodeError, EncodeError}

Expand Down

0 comments on commit b459ee4

Please sign in to comment.