From 731a1ae63f70ecb795d826096f1b1794fa0598ef Mon Sep 17 00:00:00 2001 From: Iacutone Date: Tue, 22 Oct 2024 11:55:48 -0400 Subject: [PATCH] Fix start_link typespec (#710) --- lib/postgrex.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/postgrex.ex b/lib/postgrex.ex index f76ab3c8..eb59a556 100644 --- a/lib/postgrex.ex +++ b/lib/postgrex.ex @@ -246,7 +246,7 @@ defmodule Postgrex do ] """ - @spec start_link([start_option]) :: {:ok, pid} | {:error, Postgrex.Error.t() | term} + @spec start_link([start_option]) :: GenServer.on_start() def start_link(opts) do opts = Postgrex.Utils.default_opts(opts) DBConnection.start_link(Postgrex.Protocol, opts)