Open gogoout opened 4 years ago
Hi there, Just changed NgxLinkifyjsService using the new syntax providedIn:root. So that the module can be lazyloaded with below config.
NgxLinkifyjsService
providedIn:root
import { NgxLinkifyjsConfigToken } from 'ngx-linkifyjs'; @NgModule({ declarations: [AppComponent, ...], imports: [...], providers:[ { provide: NgxLinkifyjsConfigToken, useValue: {enableHash: true, enableMention: true} }, ], bootstrap: [AppComponent] }) export class AppModule { }
The only thing worth mention is that the test failed because of this error
TypeError: hashtag_1.default is not a function
This should be some kind of typescript error because the test project is working fine.
@AnthonyNahas Please let me know if there is anything you need me to change.
Hi there, Just changed
NgxLinkifyjsService
using the new syntaxprovidedIn:root
. So that the module can be lazyloaded with below config.The only thing worth mention is that the test failed because of this error
This should be some kind of typescript error because the test project is working fine.