Skip to content

Commit

Permalink
Add Keyword list to utils
Browse files Browse the repository at this point in the history
  • Loading branch information
tolyo committed Dec 10, 2023
1 parent cdcb441 commit 8ae7293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nitroux/utils.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Nitroux.Utils do
alias Nitroux.Types.GlobalAttributes
@type tag :: String.t()
@spec tag(any, map() | [tag] | tag, boolean()) :: tag()
@spec tag(any, Keyword.t() | map() | [tag] | tag, boolean()) :: tag()
@doc """
Generates dynamic open and closing tags around content
iex> Nitroux.Utils.tag("div", [])
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Nitroux.MixProject do
def project do
[
app: :nitroux,
version: "0.4.2",
version: "0.4.3",
elixir: "~> 1.13",
name: "nitroux",
description: description(),
Expand Down

0 comments on commit 8ae7293

Please sign in to comment.