LRPCPayload( path: string, isResponse?: boolean,): <T extends new (...args: any[]) => {}>(constructor: T) => void Parameters
- path: string
Optional
isResponse: boolean
Returns <T extends new (...args: any[]) => {}>(constructor: T) => void
The payload decorator
This decorator is used to mark a class as part of the type definition in the payload or response of an endpoint