Function LRPCObjectProp

  • This decorator is used to decorate a field with object type definitions example usage: LRPCObjectProp({ name: "any" }, false) fieldName: { name: "any" }

    Parameters

    • value: any
    • optional: boolean

    Returns (target: any, key: string) => void