diff --git a/doric-js/src/pattern/provider.ts b/doric-js/src/pattern/provider.ts index 23e945d3..58c6e261 100644 --- a/doric-js/src/pattern/provider.ts +++ b/doric-js/src/pattern/provider.ts @@ -48,7 +48,7 @@ export class Observable implements IObservable{ const oldV = this.provider.acquire(this.clz) const newV = updater(oldV) if (newV !== undefined) { - this.provider.provide(newV) + this.provider.provide(newV as Object) } for (let observer of this.observers) { observer(newV)