Skip to content

Commit 93b290d

Browse files
authored
docs: wrong te docs (#1753)
1 parent d4dddec commit 93b290d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/petite-vue-i18n/src/vue.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ declare module '@vue/runtime-core' {
864864
* @param key - A target locale message key
865865
* @param locale - A locale, optional, override locale that global scope or local scope
866866
*
867-
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is translatable.
867+
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is not translatable.
868868
*/
869869
$te<
870870
Key extends string,

packages/vue-i18n-bridge/src/vue.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ declare module '@vue/runtime-core' {
869869
* @param key - A target locale message key
870870
* @param locale - A locale, optional, override locale that global scope or local scope
871871
*
872-
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is translatable.
872+
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is not translatable.
873873
*/
874874
$te<
875875
Key extends string,

packages/vue-i18n-core/src/composer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ export interface Composer<
14021402
* @param key - A target locale message key
14031403
* @param locale - A locale, it will be used over than global scope or local scope
14041404
*
1405-
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is translatable.
1405+
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is not translatable.
14061406
*/
14071407
te<
14081408
Str extends string,

packages/vue-i18n/src/vue.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ declare module '@vue/runtime-core' {
869869
* @param key - A target locale message key
870870
* @param locale - A locale, optional, override locale that global scope or local scope
871871
*
872-
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is translatable.
872+
* @returns If found locale message, `true`, else `false`, Note that `false` is returned even if the value present in the key is not translatable, yet if `translateExistCompatible` is set to `true`, it will return `true` if the key is available, even if the value is not translatable.
873873
*/
874874
$te<
875875
Key extends string,

0 commit comments

Comments
 (0)