Type alias ResponseType<T>

ResponseType<T>: {
    error?: T;
    output: IGrupoData[] | IRetoData[] | IUsuarioData[] | IRutaData[] | string | undefined;
    success: boolean;
    type: "add" | "remove" | "update" | "read";
}

Default ResponseType Express server will emit

Type Parameters

  • T

Type declaration

Generated using TypeDoc