@expressive/mvc 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -449,7 +449,7 @@ declare class MVC extends Model {
|
|
|
449
449
|
* Effect callback will run once if found, throw if not found.
|
|
450
450
|
* Returned function is called on unmount.
|
|
451
451
|
*/
|
|
452
|
-
static get<T extends Class, I extends InstanceOf<T>>(
|
|
452
|
+
static get<T extends Class, I extends InstanceOf<T>>(this: T, effect: (found: I) => Callback | void): I;
|
|
453
453
|
/**
|
|
454
454
|
* **React Hook** - Fetch and subscribe to instance of this controller within ambient component.
|
|
455
455
|
*/
|