@drewjbartlett/i17n
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -1,1 +0,1 @@ | ||
export { createI17n, type Translations, type Interpolations, type i17nConfig } from '../core/create-i17n'; | ||
export { createI17n, type Translations, type Interpolations, type I17nConfig } from '../core/create-i17n'; |
@@ -12,3 +12,3 @@ export type Translations = { | ||
} | ||
export interface i17nConfig { | ||
export interface I17nConfig { | ||
/** | ||
@@ -52,2 +52,2 @@ * The core { key: value } translations. | ||
*/ | ||
export declare function createI17n(config: i17nConfig): i17n; | ||
export declare function createI17n(config: I17nConfig): i17n; |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"files": [ | ||
@@ -8,0 +8,0 @@ "dist" |
@@ -16,3 +16,3 @@ # i17n | ||
- ✅ lightweight - 1.4kB | ||
- ✅ TypeScript Support | ||
- ✅ 100% TypeScript | ||
@@ -35,2 +35,3 @@ | ||
Create a JSON file: | ||
@@ -53,2 +54,4 @@ ```json | ||
Or export an object: | ||
```ts | ||
@@ -55,0 +58,0 @@ // or translations.ts |
19075
258