fix: add jsdoc comments

This commit is contained in:
Stevan Freeborn
2023-02-10 23:29:56 -06:00
parent 0af3a9d7ca
commit 287289b83f
3 changed files with 26 additions and 0 deletions
+5
View File
@@ -310,6 +310,11 @@ export class OnspringClient {
return apiResponse;
}
/**
* @method getRecordById - Gets a record by its id.
* @param {GetRecordRequest} request - The request that will be used to get the record.
* @returns {Promise<ApiResponse<Record>>} - A promise that resolves to an ApiResponse of type Record.
*/
public async getRecordById(
request: GetRecordRequest
): Promise<ApiResponse<Record>> {