ソースを参照

fix types for pre-17 releases

pull/392/head
Tristan Sloughter 10年前
コミット
d8509f7842
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      src/rebar_mustache.erl

+ 4
- 0
src/rebar_mustache.erl ファイルの表示

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

読み込み中…
キャンセル
保存