Skip to content

Commit 76ab400

Browse files
authored
fix: njson:t() can also be undefined (#11)
1 parent 087db5d commit 76ab400

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/njson.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
-export([decode/1, encode/1, encode/2]).
1818

1919
%%% TYPES
20-
-type t() :: boolean() | number() | binary() | [t()] | #{binary() => t()}.
20+
-type t() :: undefined | boolean() | number() | binary() | [t()] | #{binary() => t()}.
2121

2222
%%% EXPORT TYPES
2323
-export_type([t/0]).

0 commit comments

Comments
 (0)