Schema
Callable
- Type parameters- T
 - Parameters- optionaldefaultValue: T- The default value for the property. The default value is automatically assigned when the original value is - undefined.
 - Returns T
The default value for the property.
The default value is automatically assigned when the original value is undefined.
The Schema function is used to set type and value for a property in a schema class or on a class property. It also accepts a default value.
Functions/Schema
Techniques for Schema.