From 52e8f7d937860bd842ba3bf63fe69f72341ffa53 Mon Sep 17 00:00:00 2001 From: Anthony Nahas Date: Mon, 23 Jul 2018 23:03:38 +0200 Subject: [PATCH] feat(package): added `linkify` method to the service --- src/module/service/ngx-linkifyjs.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/module/service/ngx-linkifyjs.service.ts b/src/module/service/ngx-linkifyjs.service.ts index 7b772197..e5b088ea 100644 --- a/src/module/service/ngx-linkifyjs.service.ts +++ b/src/module/service/ngx-linkifyjs.service.ts @@ -8,6 +8,11 @@ export class NgxLinkifyjsService { constructor() { } + linkify(text: string): string { + // @ts-ignore + return text.linkify(); + } + find(text: string): Array { return linkify.find(text); }