Skip to content

Interface: IComputedFactory() ​

Defined in: mobx:

See ​

https://mobx.js.org/README.html

Extends ​

  • Annotation.PropertyDecorator.ClassGetterDecorator

Call Signature ​

ts
IComputedFactory<T>(options: IComputedValueOptions<T>): Annotation & PropertyDecorator & ClassGetterDecorator;

Defined in: mobx:

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
optionsIComputedValueOptions<T>

Returns ​

Annotation & PropertyDecorator & ClassGetterDecorator

See ​

https://mobx.js.org/README.html

Call Signature ​

ts
IComputedFactory<T>(func: () => T, options?: IComputedValueOptions<T>): IComputedValue<T>;

Defined in: mobx:

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
func() => T
options?IComputedValueOptions<T>

Returns ​

IComputedValue<T>

See ​

https://mobx.js.org/README.html

Call Signature ​

ts
IComputedFactory(target: Object, propertyKey: string | symbol): void;

Defined in: mobx:

Parameters ​

ParameterType
targetObject
propertyKeystring | symbol

Returns ​

void

See ​

https://mobx.js.org/README.html

Call Signature ​

ts
IComputedFactory(value: (this: any) => any, context: ClassGetterDecoratorContext): void | ((this: any) => any);

Defined in: mobx:

Parameters ​

ParameterType
value(this: any) => any
contextClassGetterDecoratorContext

Returns ​

void | ((this: any) => any)

See ​

https://mobx.js.org/README.html

Methods ​

decorate_20223_() ​

ts
decorate_20223_(value: any, context: DecoratorContext): any;

Defined in: mobx:

Parameters ​

ParameterType
valueany
contextDecoratorContext

Returns ​

any

Inherited from ​

ts
Annotation.decorate_20223_

extend_() ​

ts
extend_(
   adm: ObservableObjectAdministration, 
   key: PropertyKey, 
   descriptor: PropertyDescriptor, 
   proxyTrap: boolean): boolean | null;

Defined in: mobx:

Parameters ​

ParameterType
admObservableObjectAdministration
keyPropertyKey
descriptorPropertyDescriptor
proxyTrapboolean

Returns ​

boolean | null

Inherited from ​

ts
Annotation.extend_

make_() ​

ts
make_(
   adm: ObservableObjectAdministration, 
   key: PropertyKey, 
   descriptor: PropertyDescriptor, 
   source: object): MakeResult;

Defined in: mobx:

Parameters ​

ParameterType
admObservableObjectAdministration
keyPropertyKey
descriptorPropertyDescriptor
sourceobject

Returns ​

MakeResult

Inherited from ​

ts
Annotation.make_

Properties ​

annotationType_ ​

ts
annotationType_: string;

Defined in: mobx:

Inherited from ​

ts
Annotation.annotationType_

options_? ​

ts
optional options_?: any;

Defined in: mobx:

Inherited from ​

ts
Annotation.options_

struct ​

ts
struct: Annotation & PropertyDecorator & ClassGetterDecorator;

Defined in: mobx: