Skip to content

Commit

Permalink
Merge pull request #80 from liveview-native/bc-remove-dialyzer
Browse files Browse the repository at this point in the history
Remove dialyzer
  • Loading branch information
bcardarella authored Dec 9, 2023
2 parents a18fad8 + f2d1345 commit b6c55db
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions lib/live_view_native.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule LiveViewNative do
Used to introspect platforms at compile-time or runtime.
"""
@spec platform(atom | String.t()) :: {:ok, %LiveViewNativePlatform.Env{}} | :error
def platform(platform_id) when is_atom(platform_id) and not is_nil(platform_id),
do: platform("#{platform_id}")

Expand All @@ -31,7 +30,6 @@ defmodule LiveViewNative do
Same as `platform/1` but raises `RuntimeError` instead of returning
`:error` if no platform exists for the given `platform_id`
"""
@spec platform!(atom) :: %LiveViewNativePlatform.Env{}
def platform!(platform_id) do
case platform(platform_id) do
{:ok, %{} = platform} ->
Expand All @@ -51,6 +49,5 @@ defmodule LiveViewNative do
@doc """
Returns a list of environment structs for all LiveView Native platforms.
"""
@spec platforms() :: LiveViewNative.Platforms.env_platforms_map()
def platforms, do: env_platforms()
end
1 change: 0 additions & 1 deletion lib/live_view_native/platforms.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ defmodule LiveViewNative.Platforms do
which is responsible for determining which platform (web, iOS, etc.) a
session originates from.
"""
@spec env_platforms() :: env_platforms_map()
def env_platforms do
@env_platforms
|> Enum.map(&expand_env_platform/1)
Expand Down
1 change: 0 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ defmodule LiveViewNative.MixProject do
{:floki, ">= 0.30.0", only: :test},
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
{:makeup_eex, ">= 0.1.1", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:meeseeks, "~> 0.17.0"},
{:owl, "~> 0.8", runtime: false},
{:deep_merge, "~> 1.0"},
Expand Down

0 comments on commit b6c55db

Please sign in to comment.