CommonProperty
Callable
Parameters
propertyName: string
The name for the new property
optionalgetter: () => T = undefined
The getter function for the property
optionalsetter: (args) => void = undefined
The setter function for the property
Returns void
CommonDeprecate("OldFunc",function NewFunc (a, b) { return a + b; },);
Defines a property with the given name and the passed setter and getter