Skip to main content
Version: Latest (0.60.x)

[F] $field

function $field(
context,
target,
index): void

Decorate a model property with a field index. Field indices are required for all fields of emitted messages.

Parameters

ParameterTypeDescription
contextDecoratorContext-
targetModelProperty
indexnumber-

Returns

void