mobx-utils
mobx-utils copied to clipboard
lazyObservable.current is missing `| undefined` in type signature
https://github.com/mobxjs/mobx-utils/blob/3a1ee03527950a44c5ce57007344a56a9b974c94/src/lazy-observable.ts#L45
Given that we're fine to omit the initial value fallback, current()
can return undefined
while the promise is unresolved. The code snippet example even compares current() === undefined
.