Skip to content

Commit

Permalink
Refine Language and CallingCode type (#152)
Browse files Browse the repository at this point in the history
refine Language and CallingCode type
  • Loading branch information
qijieye authored Jan 2, 2025
1 parent af1576e commit f37380f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CallingCode.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { isly } from "isly"
import { Alpha2 } from "./CountryCode"

export type CallingCode = string
export type CallingCode = typeof CallingCode.values[number]

export namespace CallingCode {
export const values = [
Expand Down
2 changes: 1 addition & 1 deletion Language.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isly } from "isly"

export type Language = string
export type Language = typeof Language.values[number]

export namespace Language {
export const values = [
Expand Down

0 comments on commit f37380f

Please sign in to comment.