FunctionOptionalexposeSetter: booleanFunctionexpose
The host object to define the exposed property on.
The property key of the inner instance to expose from.
The property key to expose.
OptionalexposeSetter: booleanWhether to expose a setter for the property. Defaults to true.
Decorator
expose
Description
Stage-3 decorator that augments fields, accessors, and methods to expose fields and methods from inner instances.
Example
Is equivalent to: