diff --git a/lib/shared_type/event.ex b/lib/shared_type/event.ex index 3201a18..d2f50b6 100644 --- a/lib/shared_type/event.ex +++ b/lib/shared_type/event.ex @@ -61,7 +61,7 @@ defmodule Yex.TextEvent do @type t :: %__MODULE__{ path: list(number() | String.t()), - target: Yex.Map.t(), + target: Yex.Text.t(), delta: Yex.Text.delta() } end @@ -105,7 +105,7 @@ defmodule Yex.XmlTextEvent do @type t :: %__MODULE__{ path: list(number() | String.t()), - target: Yex.Map.t(), + target: Yex.XmlText.t(), delta: Yex.Text.delta() } end