diff --git a/lib/elasticsearch.ex b/lib/elasticsearch.ex index 4f08b6a..5d242a5 100644 --- a/lib/elasticsearch.ex +++ b/lib/elasticsearch.ex @@ -17,7 +17,7 @@ defmodule Elasticsearch do @type url :: Path.t() @type opts :: Keyword.t() @type data :: map | String.t() - @type response :: {:ok, map} :: {:error, Elasticsearch.Exception.t()} + @type response :: {:ok, map} | {:error, Elasticsearch.Exception.t()} @doc """ Creates or updates a document in a given index.