MCPcopy
hub / github.com/mobxjs/mobx / asCreateObservableOptions

Function asCreateObservableOptions

packages/mobx/src/api/observable.ts:66–68  ·  view source on GitHub ↗
(thing: any)

Source from the content-addressed store, hash-verified

64Object.freeze(defaultCreateObservableOptions)
65
66export function asCreateObservableOptions(thing: any): CreateObservableOptions {
67 return thing || defaultCreateObservableOptions
68}
69
70const observableAnnotation = createObservableAnnotation(OBSERVABLE)
71const observableRefAnnotation = createObservableAnnotation(OBSERVABLE_REF, {

Callers 1

observable.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…