1.0.0 • Published 1 year ago
locales-ts v1.0.0
This package only contains type declaration of locales for use in Node and JavaScript Intl methods.
Example of use:
import type { Locales } from 'locales-ts/types'
interface ExampleBeautifulInterface {
locale: Locales
}
Fragment:
export type Locales =
| 'ar'
| 'ar-AE'
| 'ar-BH'
| 'ar-DZ'
...
Install
npm install locales-ts
1.0.0
1 year ago