Preparing search index...
The search index is not available
memium
memium
decorators
field
Function field
field
<
V
>
(
type
:
StructConstructor
<
any
>
|
FieldConfigInit
,
opt
?:
FieldOptions
,
)
:
(
value
:
Target
<
V
>
,
context
:
Context
<
V
>
)
=>
Result
<
V
>
Decorates a class member as a struct field.
Type Parameters
V
Parameters
type
:
StructConstructor
<
any
>
|
FieldConfigInit
opt
:
FieldOptions
= {}
Returns
(
value
:
Target
<
V
>
,
context
:
Context
<
V
>
)
=>
Result
<
V
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
memium
Loading...
Decorates a class member as a struct field.