Skip to content

Commit 89d7e94

Browse files
committedApr 20, 2024
docs
1 parent ffc04cf commit 89d7e94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎docs/en/class-component/hooks/code-usage.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Component, Vue, toNative } from 'vue-facing-decorator'
2+
import { Component, Vue, toNative, HookMounted } from 'vue-facing-decorator'
33

44
/*
55
Vue options API
@@ -11,7 +11,7 @@ Vue options API
1111
*/
1212

1313
@Component
14-
class MyComponent extends Vue {
14+
class MyComponent extends Vue implements HookMounted {
1515
mounted() {
1616

1717
}

‎docs/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"declarationMap": true,
2424
"noUnusedLocals": false,
2525
"paths": {
26-
"vue-facing-decorator": ["../dist"],
27-
"vue-facing-decorator/dist/index-return-cons": ["../dist/index-return-cons"]
26+
"vue-facing-decorator": ["../dist/esm"],
27+
"vue-facing-decorator/dist/index-return-cons": ["../dist/esm/index-return-cons"]
2828
},
2929
"jsx": "preserve"
3030
},

0 commit comments

Comments
 (0)
Please sign in to comment.