Browse Source

fix types for pre-17 releases

pull/392/head
Tristan Sloughter 10 years ago
parent
commit
d8509f7842
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/rebar_mustache.erl

+ 4
- 0
src/rebar_mustache.erl View File

@ -62,7 +62,11 @@
-opaque template() :: #?MODULE{}.
%% @see parse_binary/1
%% @see parse_file/1
-ifdef(namespaced_types).
-type data() :: #{string() => data() | iodata() | fun((data(), function()) -> iodata())}.
-else.
-type data() :: dict().
-endif.
%% @see render/2
%% @see compile/2
-type partial() :: {partial, {state(), EndTag :: binary(), LastTagSize :: non_neg_integer(), Rest :: binary(), [tag()]}}.

Loading…
Cancel
Save