From 693a736c598a6d6030cceab5810ff338e72562a1 Mon Sep 17 00:00:00 2001 From: Rudolf M Date: Mon, 6 Feb 2023 18:10:06 -0800 Subject: [PATCH] Update typespec --- lib/pdf.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pdf.ex b/lib/pdf.ex index 2b17d30..3f66922 100644 --- a/lib/pdf.ex +++ b/lib/pdf.ex @@ -459,7 +459,7 @@ defmodule Pdf do `:align` | :left , :center , :right | :left `:kerning` | `boolean` | false """ - @spec text_wrap(pid, coords(), dimension(), binary | list, keyword) :: pid + @spec text_wrap(pid, coords(), dimension(), binary | list, keyword) :: {pid, :complete | term()} defcall text_wrap(coords, dimensions, text, opts, _from, document) do {document, remaining} = Document.text_wrap(document, coords, dimensions, text, opts) {:reply, {self(), remaining}, document}