more types

This commit is contained in:
2023-08-26 13:49:57 -07:00
parent 2eea0e09c4
commit 065a29f0cc
6 changed files with 43 additions and 1 deletions

3
src/locale.d.ts vendored Normal file
View File

@@ -0,0 +1,3 @@
/** A combined ISO 639-1 language code and ISO 3166-1 alpha-2 country code, like `en-US` */
export type Locale = `${string}-${string}`;