lukasz-galka/ngx-gallery

Angular 10 Error

ZekiOzkeser opened this issue · 4 comments

angular 10 da 3 hata vermekte bunlar da render ile ilgili göstermekte ;

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

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

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

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

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

I have the same issue.

I have the same issue on Angular 9

Solution here: #325

Solution here: #325

That worked :)
Thanks for mentioning it here