Skip to content

Commit

Permalink
Typespec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
macobo committed May 8, 2024
1 parent 30c1b56 commit f7b0d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plausible/stats/filters/dashboard_filter_parser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ defmodule Plausible.Stats.Filters.DashboardFilterParser do
end)
end

@spec filter_value(String.t(), String.t()) :: {atom(), String.t(), String.t() | [String.t()]}
@spec filter_value(String.t(), String.t()) :: [atom(), String.t(), String.t() | [String.t()]]
def filter_value(key, val) do
{is_negated, val} = parse_negated_prefix(val)
{is_contains, val} = parse_contains_prefix(val)
Expand Down

0 comments on commit f7b0d5a

Please sign in to comment.