@kengic/vue 0.25.4-beta.0 → 0.25.4-beta.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
|
|
1
|
+
export * from './web/useI18n';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
declare type I18nGlobalTranslation = {
|
2
|
+
(key: string): string;
|
3
|
+
(key: string, locale: string): string;
|
4
|
+
(key: string, locale: string, list: unknown[]): string;
|
5
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
6
|
+
(key: string, list: unknown[]): string;
|
7
|
+
(key: string, named: Record<string, unknown>): string;
|
8
|
+
};
|
9
|
+
export declare function useI18n(namespace?: string): {
|
10
|
+
t: I18nGlobalTranslation;
|
11
|
+
};
|
12
|
+
export declare const t: (key: string) => string;
|
13
|
+
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.25.4-beta.
|
3
|
+
"version": "0.25.4-beta.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|