From f7961b5e513ed6048949353b59d5f63b247e71af Mon Sep 17 00:00:00 2001 From: Pierre de Lacroix Date: Sun, 24 Jan 2021 14:09:30 +0100 Subject: fix some typespecs --- lib/matrix_app_service/client_behaviour.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matrix_app_service/client_behaviour.ex b/lib/matrix_app_service/client_behaviour.ex index 6c69846..e373b73 100644 --- a/lib/matrix_app_service/client_behaviour.ex +++ b/lib/matrix_app_service/client_behaviour.ex @@ -11,8 +11,8 @@ defmodule MatrixAppService.ClientBehaviour do Polyjuice.Client.LowLevel.t() @callback client([client_options()]) :: Polyjuice.Client.LowLevel.t() - @callback create_room(Keyword.t()) :: {:ok, String.t()} | Any - @callback create_room(Keyword.t(), client_options()) :: {:ok, String.t()} | Any + @callback create_room(Keyword.t()) :: {:ok, map()} | Any + @callback create_room(Keyword.t(), client_options()) :: {:ok, map()} | Any @callback create_alias(String.t(), String.t(), client_options()) :: {:ok, String.t()} | Any @callback send_message(String.t(), String.t(), client_options()) :: {:ok, String.t()} | Any @callback register() :: -- cgit v1.2.3