Skip to content

Commit 3722a32

Browse files
committed
docs: fix VueFinalModalProperty
1 parent fcba024 commit 3722a32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/content/en/typescript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It just works like a charm without any settings. But if you need to customize th
1313

1414
```ts[main.ts]
1515
import Vue from 'vue'
16-
import { vfmPlugin, VfmOptions, $ModalProperty } from 'vue-final-modal'
16+
import { vfmPlugin, VfmOptions, VueFinalModalProperty } from 'vue-final-modal'
1717
1818
Vue.use<VfmOptions>(vfmPlugin({
1919
key: '$vfm',
@@ -24,7 +24,7 @@ Vue.use<VfmOptions>(vfmPlugin({
2424
// define the setup options
2525
declare module 'vue/types/vue' {
2626
interface Vue {
27-
$vfm: $ModalProperty
27+
$vfm: VueFinalModalProperty
2828
}
2929
}
3030
```

docs/content/zh-Hant/typescript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ version: 2
1313

1414
```ts[main.ts]
1515
import Vue from 'vue'
16-
import { vfmPlugin, VfmOptions, $ModalProperty } from 'vue-final-modal'
16+
import { vfmPlugin, VfmOptions, VueFinalModalProperty } from 'vue-final-modal'
1717
1818
Vue.use<VfmOptions>(vfmPlugin({
1919
key: '$vfm',
@@ -24,7 +24,7 @@ Vue.use<VfmOptions>(vfmPlugin({
2424
// define the setup options
2525
declare module 'vue/types/vue' {
2626
interface Vue {
27-
$vfm: $ModalProperty
27+
$vfm: VueFinalModalProperty
2828
}
2929
}
3030
```

0 commit comments

Comments
 (0)