I’m writing Elixir wrapper for my erlang library with lots of typespecs.
I wonder if it’s possible to reuse or alias them like this:
@type metric alias :prometheus_model.'Metric'() < - ‘Metric’ is a struct.
Well, alias is probably too much, but I’m sure I wouldn’t have to rewrite all my typespecs in Elixir, right :-)?