Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's giving error in angular11+ as showing 'Renderer2' is declared here. #335

Open
imsayemohammad opened this issue Jun 21, 2021 · 1 comment

Comments

@imsayemohammad
Copy link

Error: node_modules/ngx-gallery/ngx-gallery-helper.service.d.ts:1:22 - error TS2724: '"../@angular/core/core"' has no exported member named 'Renderer'. Did you mean 'Renderer2'?

1 import { ElementRef, Renderer } from '@angular/core';
~~~~~~~~

node_modules/@angular/core/core.d.ts:6081:31
6081 export declare abstract class Renderer2 {
~~~~~~~~~
'Renderer2' is declared here.

Error: node_modules/ngx-gallery/ngx-gallery-preview.component.d.ts:1:89 - error TS2724: '"../@angular/core/core"' has no exported member named 'Renderer'. Did you
mean 'Renderer2'?

1 import { ChangeDetectorRef, EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef, Renderer } from '@angular/core';
~~~~~~~~

node_modules/@angular/core/core.d.ts:6081:31
6081 export declare abstract class Renderer2 {
~~~~~~~~~
'Renderer2' is declared here.

@imsayemohammad imsayemohammad changed the title Please see the issue in Angular 11 plus It's giving error in angular11+ as showing 'Renderer2' is declared here. Jun 21, 2021
@imsayemohammad
Copy link
Author

it's working with the ngx-gallery-9
(https://github.com/SaeedSpate/ngx-gallery-9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant