v2.2.0
_
-prefixed model paths. The issues should be resolved in [email protected].
What's Changed
- [TS typings] Allow
model.ref
'sto
param to be a Query or Filter, to match what's accepted at runtime by @ericyhwang in #311 - Deprecate named reactive functions (
model.start
with a string as the last argument); fix type for reactive fn args by @craigbeck in #312- To share a reactive function between multiple components, you should export it and then require/import it into each file that needs to use it.
- This resolves a TS error when providing
model.start
with a reactive function that mixesunknown
with stronger types. Previously, it was OK with when the function was either allunknown
types or all "strong" non-unknown
types. Now, a mix ofunknown
and stronger types is allowed.
Documentation updates
- Update Racer jsdoc documentation by @craigbeck in #309
- Update README by @craigbeck in #310
Full Changelog: v2.1.1...v2.2.0