Type alias Response<C>

Response<C>: {
    error?: string;
    id?: string;
    result?: {
        content: C;
        type: string;
    };
}

Type Parameters

  • C

Type declaration

  • Optional error?: string
  • Optional id?: string
  • Optional result?: {
        content: C;
        type: string;
    }
    • content: C
    • type: string

Generated using TypeDoc