populateSuccessfulResponse

export declare function populateSuccessfulResponse(res: ServerResponse, data: ResponseLike): Promise<void>;
export declare function populateSuccessfulResponse(res: ServerResponse, data: ResponseLike): Promise<void>;
Populates a server response with the data from a Discord 2xx REST response
NameTypeOptionalDescription
resServerResponseNo
The server response to populate
dataResponseLikeNo
The data to populate the response with