Skip to content

Commit

Permalink
Fix typespecs
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Mar 2, 2022
1 parent 6df4256 commit ffd1e07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cldr_html_territories.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if Cldr.Code.ensure_compiled?(Cldr.Territory) do
{:territories, [atom() | binary(), ...]}
| {:locale, Cldr.Locale.locale_name() | Cldr.LanguageTag.t()}
| {:collator, function()}
| {:mapper, (Cldr.Locale.territory() -> String.t())}
| {:mapper, (Cldr.Locale.territory_code() -> String.t())}
| {:backend, module()}
| {:selected, atom() | binary()}
]
Expand All @@ -24,7 +24,7 @@ if Cldr.Code.ensure_compiled?(Cldr.Territory) do
"""
@type territory :: %{
territory: atom(),
territory: Cldr.Locale.territory_code(),
name: String.t(),
flag: String.t()
}
Expand Down

0 comments on commit ffd1e07

Please sign in to comment.