소스 검색

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

불러오는 중...
취소
저장