Skip to content
Browse files

Add spec to exported function

  • Loading branch information...
1 parent 017ca3d commit 510091648f7edc8da474f04934cb158993715b98 @kostis kostis committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/strip_types.erl
View
2 src/strip_types.erl
@@ -47,6 +47,8 @@
-define(ATTRS_TO_STRIP, [export_type,type,opaque,spec,callback]).
%% @private
+-spec parse_transform([erl_parse:abstract_form()], [compile:option()]) ->
+ [erl_parse:abstract_form()].
parse_transform(Forms, _Options) ->
strip_types(Forms, []).

0 comments on commit 5100916

Please sign in to comment.
Something went wrong with that request. Please try again.