Export JSON types so libraries wrapping JSX can use them in their typespecs

This commit is contained in:
Devin Torres 2012-11-06 08:30:00 -06:00
parent cb14b92a22
commit d588361304

View file

@ -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]).