Переглянути джерело

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

Завантаження…
Відмінити
Зберегти