Skip to content

Commit 4b59db3

Browse files
committed
Add spec for get_field_types
1 parent c8d3cc9 commit 4b59db3

File tree

1 file changed

+1
-0
lines changed
  • lib/elixir_sense/providers/utils

1 file changed

+1
-0
lines changed

lib/elixir_sense/providers/utils/field.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ defmodule ElixirSense.Providers.Utils.Field do
44
alias ElixirSense.Core.Normalized.Typespec
55
alias ElixirSense.Core.TypeInfo
66

7+
@spec get_field_types(Metadata.t(), module, boolean) :: %{optional(atom) => Macro.t()}
78
def get_field_types(%Metadata{} = metadata, mod, include_private) when is_atom(mod) do
89
case get_field_types_from_metadata(metadata, mod, include_private) do
910
nil -> get_field_types_from_introspection(mod, include_private)

0 commit comments

Comments
 (0)