Skip to content

Commit 47c19c0

Browse files
authored
Update onBeforeUnmount type
There is a typo. The method name in Type section is onBeforeUnmounted (the correct name is onBeforeUnmount).
1 parent ce87b0e commit 47c19c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/composition-api-lifecycle.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Registers a hook to be called right before a component instance is to be unmount
167167
- **Type**
168168

169169
```ts
170-
function onBeforeUnmounted(callback: () => void): void
170+
function onBeforeUnmount(callback: () => void): void
171171
```
172172

173173
- **Details**

0 commit comments

Comments
 (0)