Skip to content

Commit 0cb2d6b

Browse files
github-actions[bot]brawaru
authored andcommitted
Version Packages
1 parent 985b5a0 commit 0cb2d6b

File tree

3 files changed

+21
-20
lines changed

3 files changed

+21
-20
lines changed

.changeset/cool-trains-roll.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @vintl/vintl
22

3+
## 4.4.0
4+
5+
### Minor Changes
6+
7+
- 985b5a0: Added Vue types augmentation to type the global mixin properties
8+
9+
Mixin-provided global properties like `$t`, `$fmt` and `$i18n` should be properly typed now.
10+
11+
If you don't use the global mixin, the below augmentation will remove these unusable properties.
12+
13+
```ts
14+
declare global {
15+
namespace VueIntlController {
16+
interface Options {
17+
globalMixin: false
18+
}
19+
}
20+
}
21+
```
22+
323
## 4.3.0
424

525
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vintl/vintl",
3-
"version": "4.3.0",
3+
"version": "4.4.0",
44
"description": "Integrate @formatjs/intl into your Vue apps for easier internationalisation",
55
"keywords": [
66
"i18n",

0 commit comments

Comments
 (0)