mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-6071] fix JSDoc issues for Core lib (#8942)
* fix jsdoc issues * docs fixes * doc fixes * doc fixes * fix docs * fix bugs
This commit is contained in:
@@ -316,6 +316,10 @@ export class AdfHttpClient implements ee.Emitter,JsApiHttpClient {
|
||||
|
||||
/**
|
||||
* Deserialize an HTTP response body into a value of the specified type.
|
||||
*
|
||||
* @param response response object
|
||||
* @param returnType return type
|
||||
* @returns deserialized object
|
||||
*/
|
||||
private static deserialize<T>(response: HttpResponse<T>, returnType?: Constructor<unknown> | 'blob'): any {
|
||||
|
||||
|
@@ -21,6 +21,9 @@ describe('AlfrescoApiUtils', () => {
|
||||
|
||||
describe('isConstructor', () => {
|
||||
class MockClass {}
|
||||
/**
|
||||
* Mock function for tests
|
||||
*/
|
||||
function mockFUnction() {}
|
||||
|
||||
it('should return true for class and functions', () => {
|
||||
|
@@ -57,6 +57,9 @@ export const getQueryParamsWithCustomEncoder = (obj: Record<string | number, unk
|
||||
|
||||
/**
|
||||
* Removes null and undefined values from an object.
|
||||
*
|
||||
* @param obj object to process
|
||||
* @returns object with updated values
|
||||
*/
|
||||
export const removeNilValues = (obj: Record<string | number, unknown>) => {
|
||||
|
||||
|
Reference in New Issue
Block a user