fix: add missing jsdoc comments

This commit is contained in:
StevanFreeborn
2023-02-03 22:51:02 -06:00
parent ed68b5f9d9
commit 43246103b5
+4
View File
@@ -201,6 +201,10 @@ export class ApiResponse<T> {
); );
} }
/**
* @method asCreatedWithIdResponseType - Converts the ApiResponse to an ApiResponse<CreatedWithIdResponse>.
* @returns {ApiResponse<CreatedWithIdResponse>} - An ApiResponse<CreatedWithIdResponse>.
*/
public asCreatedWithIdResponseType(): ApiResponse<CreatedWithIdResponse> { public asCreatedWithIdResponseType(): ApiResponse<CreatedWithIdResponse> {
const apiResponse = this as ApiResponse<any>; const apiResponse = this as ApiResponse<any>;