fingerpich / jalali-angular-datepicker

Highly configurable jalali (shamsi, khorshidi, persian) date picker built for Angular ( 2 or more ) applications
https://fingerpich.github.io/jalali-angular-datepicker/
MIT License
152 stars 61 forks source link

problem with renderer in ./node_modules/ng2-jalali-date-picker/__ivy_ngcc__/ng2-jalali-date-picker.js #146

Open fatemesbati opened 3 years ago

fatemesbati commented 3 years ago

hey everybody, actually i have problem to use ng2-jalali-date-picker because of renderer which is imported from @angular/core in this path ---> ./node_modules/ng2-jalali-date-picker/__ivy_ngcc__/ng2-jalali-date-picker.js . as angular said https://angular.io/guide/migration-renderer#Why%20should%20I%20migrate%20to%20Renderer2? renderer is deprecated and we have to use renderer2, which is not considered in latest version but in 2.4.2 is ok.

jalalh14 commented 2 years ago

problem with angular 12: Error: node_modules/ng2-jalali-date-picker/date-picker/date-picker.component.d.ts:16:100 - error TS2724: '"@angular/core"' has no exported member named 'Renderer'. Did you mean 'Renderer2'?

jalalh14 commented 2 years ago

The problem is solved in source code but it has not been built prod, and the bin folder has not been published to npm. Please publish bin folder to npm after build:prod.