Skip to content

Commit d99bc2b

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/composition-api-lifecycle.md

Lines changed: 1 addition & 1 deletion
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)