intor-translator 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,6 +2,12 @@ import { RuraHook } from 'rura';
|
|
|
2
2
|
|
|
3
3
|
type MessagePrimitive = string | number | boolean | null;
|
|
4
4
|
type MessageArray = readonly MessageValue[];
|
|
5
|
+
/**
|
|
6
|
+
* A recursive message tree object.
|
|
7
|
+
*
|
|
8
|
+
* Represents the root message structure for a single locale
|
|
9
|
+
* (i.e. the value of `LocaleMessages[locale]`).
|
|
10
|
+
*/
|
|
5
11
|
interface MessageObject {
|
|
6
12
|
[key: string]: MessageValue;
|
|
7
13
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ import { RuraHook } from 'rura';
|
|
|
2
2
|
|
|
3
3
|
type MessagePrimitive = string | number | boolean | null;
|
|
4
4
|
type MessageArray = readonly MessageValue[];
|
|
5
|
+
/**
|
|
6
|
+
* A recursive message tree object.
|
|
7
|
+
*
|
|
8
|
+
* Represents the root message structure for a single locale
|
|
9
|
+
* (i.e. the value of `LocaleMessages[locale]`).
|
|
10
|
+
*/
|
|
5
11
|
interface MessageObject {
|
|
6
12
|
[key: string]: MessageValue;
|
|
7
13
|
}
|