Skip to content

Commit 5622c71

Browse files
committed
feat: remove 3rd argument from optionMergeStrategies
1 parent 9540e78 commit 5622c71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/application-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const app = createApp({
9292
}
9393
})
9494

95-
app.config.optionMergeStrategies.hello = (parent, child, vm) => {
95+
app.config.optionMergeStrategies.hello = (parent, child) => {
9696
return `Hello, ${child}`
9797
}
9898

@@ -105,7 +105,7 @@ app.mixin({
105105

106106
Define merging strategies for custom options.
107107

108-
The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively. The context application instance is passed as the third argument.
108+
The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively.
109109

110110
- **See also:** [Custom Option Merging Strategies](../guide/mixins.html#custom-option-merge-strategies)
111111

0 commit comments

Comments
 (0)