fix js compile error
This commit is contained in:
parent
8dd39398b9
commit
390ef52632
@ -48,7 +48,7 @@ export class Observable<M> implements IObservable<M>{
|
|||||||
const oldV = this.provider.acquire(this.clz)
|
const oldV = this.provider.acquire(this.clz)
|
||||||
const newV = updater(oldV)
|
const newV = updater(oldV)
|
||||||
if (newV !== undefined) {
|
if (newV !== undefined) {
|
||||||
this.provider.provide(newV)
|
this.provider.provide(newV as Object)
|
||||||
}
|
}
|
||||||
for (let observer of this.observers) {
|
for (let observer of this.observers) {
|
||||||
observer(newV)
|
observer(newV)
|
||||||
|
Reference in New Issue
Block a user