From 26ee78e77fc46c938a0c34e04d55e68ac6660216 Mon Sep 17 00:00:00 2001 From: Anirudh Varma Date: Sun, 14 Feb 2021 12:45:06 +0530 Subject: [PATCH] fix(language-service): pass generic argument to context` --- projects/ngx-var/src/lib/ngx-var.directive.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/ngx-var/src/lib/ngx-var.directive.ts b/projects/ngx-var/src/lib/ngx-var.directive.ts index e03eed6..c8e1c6a 100644 --- a/projects/ngx-var/src/lib/ngx-var.directive.ts +++ b/projects/ngx-var/src/lib/ngx-var.directive.ts @@ -41,7 +41,7 @@ export class Context { selector: '[ngxVar]', }) export class NgxVarDirective implements OnInit { - private _context = new Context(); + private _context = new Context(); @Input() set ngxVar(value: T) { @@ -51,7 +51,7 @@ export class NgxVarDirective implements OnInit { constructor( private _vcr: ViewContainerRef, - private _templateRef: TemplateRef + private _templateRef: TemplateRef> ) {} ngOnInit() {