Skip to content

Commit e54a913

Browse files
committed
fix(*): fix incorrect inject
1 parent c5a9f9c commit e54a913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/grids/grid/src/grid-base.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export abstract class IgxGridBaseDirective implements GridType,
140140
protected colResizingService = inject(IgxColumnResizingService);
141141
public readonly gridAPI = inject<GridServiceType>(IGX_GRID_SERVICE_BASE);
142142
protected transactionFactory = inject(IgxFlatTransactionFactory);
143-
private elementRef = inject(ElementRef<HTMLElement>);
143+
private elementRef = inject<ElementRef<HTMLElement>>(ElementRef);
144144
protected zone = inject(NgZone);
145145
/** @hidden @internal */
146146
public document = inject(DOCUMENT);

0 commit comments

Comments
 (0)