CommonProperty CallableCommonProperty<T>(propertyName, getter, setter): voidDefines a property with the given name and the passed setter and getter@exampleCommonDeprecate( "OldFunc", function NewFunc (a, b) { return a + b; },);ParameterspropertyName: stringThe name for the new propertyoptionalgetter: () => T = undefinedThe getter function for the propertyoptionalsetter: (args) => void = undefinedThe setter function for the propertyReturns void
Defines a property with the given name and the passed setter and getter