mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix aot
This commit is contained in:
@@ -26,9 +26,13 @@ import { ComponentRegisterService } from './component-register.service';
|
||||
import { RuleService } from './rule.service';
|
||||
import { ExtensionElement } from '../config/extension-element';
|
||||
|
||||
const EXTENSION_JSONS = new InjectionToken<ExtensionRef[][]>('extension-jsons', {
|
||||
export function extensionJsonsFactory() {
|
||||
return [];
|
||||
}
|
||||
|
||||
export const EXTENSION_JSONS = new InjectionToken<ExtensionRef[][]>('extension-jsons', {
|
||||
providedIn: 'root',
|
||||
factory: () => []
|
||||
factory: extensionJsonsFactory
|
||||
});
|
||||
|
||||
export function provideExtensionConfig(jsons: ExtensionRef[]) {
|
||||
|
Reference in New Issue
Block a user