Export JSON types so libraries wrapping JSX can use them in their typespecs
This commit is contained in:
parent
cb14b92a22
commit
d588361304
1 changed files with 8 additions and 6 deletions
|
@ -32,6 +32,8 @@
|
||||||
-export([to_json/1, to_json/2]).
|
-export([to_json/1, to_json/2]).
|
||||||
-export([to_term/1, to_term/2]).
|
-export([to_term/1, to_term/2]).
|
||||||
|
|
||||||
|
-export_type([json_term/0, json_text/0]).
|
||||||
|
|
||||||
%% test handler
|
%% test handler
|
||||||
-ifdef(TEST).
|
-ifdef(TEST).
|
||||||
-export([init/1, handle_event/2]).
|
-export([init/1, handle_event/2]).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue