File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,8 @@ declare module './Model' {
90
90
* It's not recommended to use this in most cases. Instead, to share reactive functions,
91
91
* have the components import a shared function to pass to `model.start`.
92
92
*
93
- * @deprecated The use of named funcitons is deprecated. With typescript and modern tooling
94
- * you get better type information, code navigation, and refactoring support that is lost
95
- * when using named functions.
93
+ * @deprecated The use of named functions is deprecated. Instead, to share a reactive function,
94
+ * you should export it and then require/import it into each file that needs to use it.
96
95
*
97
96
* @param name name of the function to define
98
97
* @param fn either a reactive function that accepts inputs and returns output, or
You can’t perform that action at this time.
0 commit comments