Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes an object that we want to expose.

Hierarchy

Index

Properties

In case of a string, it is the name of the event. In case of a FunctionDescriptor the Name property is the event name, the rest applies to the handler function.

functions?: (string | FunctionDescriptor<FunctionReturnBehavior>)[]

List of functions we want to expose on the proxy object. Default return behavior is 'async'.

proxiedProperties?: (string | PropertyDescriptor)[]

List of properties we want to expose on the proxy object.

readonlyProperties?: string[]

Since readonly property values don't change, they are sent to the other side, instead of generating a getter.

type?: "object"

Generated using TypeDoc