@intlify/vue-i18n-extensions 6.1.0 → 6.1.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 +4 -2
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransformContext, DirectiveTransform } from '@vue/compiler-dom';
|
|
2
2
|
import { I18n, I18nMode } from 'vue-i18n';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,6 +7,8 @@ import { I18n, I18nMode } from 'vue-i18n';
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* This resolver is used at {@link TransformVTDirectiveOptions | 'translationSignatures' option}
|
|
9
9
|
*
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
10
12
|
* @example
|
|
11
13
|
* ```js
|
|
12
14
|
* import { compile } from '@vue/compiler-dom'
|
|
@@ -126,4 +128,4 @@ DateTimeFormats extends Record<string, unknown> = {}, // eslint-disable-line @ty
|
|
|
126
128
|
NumberFormats extends Record<string, unknown> = {}, // eslint-disable-line @typescript-eslint/ban-types -- TODO: fix this
|
|
127
129
|
Legacy extends boolean = true>(options?: TransformVTDirectiveOptions<Messages, DateTimeFormats, NumberFormats, Legacy>): DirectiveTransform;
|
|
128
130
|
|
|
129
|
-
export { type TransformVTDirectiveOptions, transformVTDirective };
|
|
131
|
+
export { type TransformVTDirectiveOptions, type TranslationSignatureResolver, transformVTDirective };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransformContext, DirectiveTransform } from '@vue/compiler-dom';
|
|
2
2
|
import { I18n, I18nMode } from 'vue-i18n';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,6 +7,8 @@ import { I18n, I18nMode } from 'vue-i18n';
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* This resolver is used at {@link TransformVTDirectiveOptions | 'translationSignatures' option}
|
|
9
9
|
*
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
10
12
|
* @example
|
|
11
13
|
* ```js
|
|
12
14
|
* import { compile } from '@vue/compiler-dom'
|
|
@@ -126,4 +128,4 @@ DateTimeFormats extends Record<string, unknown> = {}, // eslint-disable-line @ty
|
|
|
126
128
|
NumberFormats extends Record<string, unknown> = {}, // eslint-disable-line @typescript-eslint/ban-types -- TODO: fix this
|
|
127
129
|
Legacy extends boolean = true>(options?: TransformVTDirectiveOptions<Messages, DateTimeFormats, NumberFormats, Legacy>): DirectiveTransform;
|
|
128
130
|
|
|
129
|
-
export { type TransformVTDirectiveOptions, transformVTDirective };
|
|
131
|
+
export { type TransformVTDirectiveOptions, type TranslationSignatureResolver, transformVTDirective };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransformContext, DirectiveTransform } from '@vue/compiler-dom';
|
|
2
2
|
import { I18n, I18nMode } from 'vue-i18n';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,6 +7,8 @@ import { I18n, I18nMode } from 'vue-i18n';
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* This resolver is used at {@link TransformVTDirectiveOptions | 'translationSignatures' option}
|
|
9
9
|
*
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
10
12
|
* @example
|
|
11
13
|
* ```js
|
|
12
14
|
* import { compile } from '@vue/compiler-dom'
|
|
@@ -126,4 +128,4 @@ DateTimeFormats extends Record<string, unknown> = {}, // eslint-disable-line @ty
|
|
|
126
128
|
NumberFormats extends Record<string, unknown> = {}, // eslint-disable-line @typescript-eslint/ban-types -- TODO: fix this
|
|
127
129
|
Legacy extends boolean = true>(options?: TransformVTDirectiveOptions<Messages, DateTimeFormats, NumberFormats, Legacy>): DirectiveTransform;
|
|
128
130
|
|
|
129
|
-
export { type TransformVTDirectiveOptions, transformVTDirective };
|
|
131
|
+
export { type TransformVTDirectiveOptions, type TranslationSignatureResolver, transformVTDirective };
|