mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ACS-6071] fix jsdoc warnings and errors (#8948)
* fix content docs * fix extensions docs * fix insights docs * [ci:force] fix jsdoc errors and warnings * enable jsdoc linter * [ci:force] fix demo shell jsdoc * [ci:force] fix e2e typings * fix typo * fix typo
This commit is contained in:
@@ -28,6 +28,11 @@ import { ExtensionElement } from '../config/extension-element';
|
||||
import { BehaviorSubject, Observable } from 'rxjs';
|
||||
|
||||
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
|
||||
/**
|
||||
* The default extensions factory
|
||||
*
|
||||
* @returns the list of extension json files
|
||||
*/
|
||||
export function extensionJsonsFactory() {
|
||||
return [];
|
||||
};
|
||||
@@ -38,6 +43,12 @@ export const EXTENSION_JSONS = new InjectionToken<string[][]>('extension-jsons',
|
||||
});
|
||||
|
||||
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
|
||||
/**
|
||||
* Provides the extension json values for the angular modules
|
||||
*
|
||||
* @param jsons files to provide
|
||||
* @returns a provider section
|
||||
*/
|
||||
export function provideExtensionConfig(jsons: string[]) {
|
||||
return {
|
||||
provide: EXTENSION_JSONS,
|
||||
|
Reference in New Issue
Block a user