Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ruojianll committed Apr 20, 2024
1 parent ffc04cf commit 89d7e94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/en/class-component/hooks/code-usage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

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

/*
Vue options API
Expand All @@ -11,7 +11,7 @@ Vue options API
*/

@Component
class MyComponent extends Vue {
class MyComponent extends Vue implements HookMounted {
mounted() {

}
Expand Down
4 changes: 2 additions & 2 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"declarationMap": true,
"noUnusedLocals": false,
"paths": {
"vue-facing-decorator": ["../dist"],
"vue-facing-decorator/dist/index-return-cons": ["../dist/index-return-cons"]
"vue-facing-decorator": ["../dist/esm"],
"vue-facing-decorator/dist/index-return-cons": ["../dist/esm/index-return-cons"]
},
"jsx": "preserve"
},
Expand Down

0 comments on commit 89d7e94

Please sign in to comment.