Exactly matches the type of the argument, preventing adding additional properties.
⚠️ Should never be used with extends, as this will nullify the exactness of the type.
extends
As an example, used to ensure that the parameters of AbAttr.canApply and AbAttr.getTriggerMessage are compatible with the type of its apply method.
AbAttr.canApply
AbAttr.getTriggerMessage
apply
The type to match exactly
Exactly matches the type of the argument, preventing adding additional properties.
⚠️ Should never be used with
extends
, as this will nullify the exactness of the type.As an example, used to ensure that the parameters of
AbAttr.canApply
andAbAttr.getTriggerMessage
are compatible with the type of itsapply
method.