mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add missing 'forRoot' implementatitions (#1369)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { NgModule } from '@angular/core';
|
||||
import { NgModule, ModuleWithProviders } from '@angular/core';
|
||||
import { CoreModule } from 'ng2-alfresco-core';
|
||||
import { DataTableModule } from 'ng2-alfresco-datatable';
|
||||
|
||||
@@ -39,10 +39,14 @@ export const WEBSCRIPT_DIRECTIVES: any[] = [
|
||||
declarations: [
|
||||
...WEBSCRIPT_DIRECTIVES
|
||||
],
|
||||
providers: [
|
||||
],
|
||||
exports: [
|
||||
...WEBSCRIPT_DIRECTIVES
|
||||
]
|
||||
})
|
||||
export class WebScriptModule {}
|
||||
export class WebScriptModule {
|
||||
static forRoot(): ModuleWithProviders {
|
||||
return {
|
||||
ngModule: WebScriptModule
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user