This decorator is used to decorate a field with any custom type definitions not avaliable in the library
like enumerations, unions, etc.
example usage:
LRPCType('start' | 'stop' | 'pause' | 'resume', false)
fieldName: 'start' | 'stop' | 'pause' | 'resume'
This decorator is used to decorate a field with any custom type definitions not avaliable in the library like enumerations, unions, etc. example usage: LRPCType(
'start' | 'stop' | 'pause' | 'resume'
, false) fieldName: 'start' | 'stop' | 'pause' | 'resume'