mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
9 lines
170 B
TypeScript
9 lines
170 B
TypeScript
import type { Locale, LocalePair } from '../types/locale'
|
|
|
|
export function defineLocale(name: string, pair: LocalePair): Locale {
|
|
return {
|
|
name,
|
|
ui: pair
|
|
}
|
|
}
|