Open contactipraju opened 4 years ago
You may need to upgrade the library to use Renderer2. Here is the migration map: https://angular.io/guide/migration-renderer
@ramyothman Can you update me on if you have plans to upgrade this library to work on latest version of Angular (9 if not on 10). Thanks
@ramyothman you can review and merge the PR (Upgrade to Angular 9) issued by Uday if everything is good (?): https://github.com/ramyothman/ngx-grid-stack/pull/5
Hey Ramy,
I've recently upgraded Angular in my project to the latest version (10) and got the following build error. Let me know if you have a fix for this. Thanks in advance.
Prasad
ERROR in node_modules/ngx-grid-stack/lib/grid-stack-item/grid-stack-item.component.d.ts:1:44 - error TS2724: Module '"../../../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?
1 import { OnInit, ComponentRef, ElementRef, Renderer, EventEmitter, OnDestroy, AfterViewInit, ViewContainerRef } from '@angular/core';
node_modules/ngx-grid-stack/lib/grid-stack/grid-stack.component.d.ts:1:33 - error TS2724: Module '"../../../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?
1 import { QueryList, ElementRef, Renderer, AfterContentInit } from '@angular/core';