We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f346cde commit df06b10Copy full SHA for df06b10
lib/safe_code/validator.ex
@@ -25,7 +25,7 @@ defmodule SafeCode.Validator do
25
|> validate_quoted(opts)
26
end
27
28
- @spec validate_heex(binary, keyword) :: {:ok, ast :: Macro.t()} | {:error, %Phoenix.LiveView.HTMLTokenizer.ParseError{}}
+ @spec validate_heex(binary, keyword) :: {:ok, ast :: Macro.t()} | {:error, Exception.t()}
29
def validate_heex(heex, opts \\ []) when is_binary(heex) do
30
quoted =
31
heex
0 commit comments