-
Notifications
You must be signed in to change notification settings - Fork 150
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 does not support angular 13? #226
Comments
Looks like not, some errors which can help to support NG13:
|
i reverted to Angular 12, 13 is too new. |
Give some time to upgrade the NG |
I tried updating this library and building a PR, i spend 3 hours but I couldn't even do npm install. |
at least works on ng v12 |
if the developer will not want to update, i will copy the code from https://github.com/h2qutc/angular-material-components/tree/master/projects and update myself inline... |
cant be too much hassle. |
Hi all, I will try to release a version supporting Angular 13 within 2-3 days |
no rush, still on ng v12, ng v13 is very early :) happy relax mood weekend |
thanks for your support |
Many Thanks, upgraded to early :-) |
Hello h2qutc, |
It's working fine here in Angular 13. I just don't use Angular Material 13... Which breaks a lot of stuff. |
Hi! we had the same issue today, updated our angular project from 11 to 13. @angular-material-components/datetime-picker/datetime-picker.component.d.ts import { CanColor, ThemePalette } from '@angular/material/core'; <----- change this line export declare class NgxMatDatetimeContent extends _MatDatepickerContentMixinBase implements AfterViewInit, CanColor { depends on what version of angular material do you use and other components, but maybe this can help someone.! regards |
Thank you all for your responses. |
Hi all, a new version with support Angular 13 will be released within some hours. |
Thank you. |
if you just mixin the classes this way, you don't have to import the now hidden Ctor type. This works for all 3 components. export class NgxMatColorPickerContentComponent extends mixinColor(NgxMatColorPickerContentBase) |
Many thanks for the quick work, @h2qutc . It is appreciated :) |
Hi all, A new version of @angular-material-components/datetime-picker v7.x+ supporting Angular 13 has been already released. Thanks all for your support. |
Hi, Error: node_modules/@angular-material-components/datetime-picker/lib/datetime-picker.component.d.ts:22:79 - error TS2694: Namespace '".../node_modules/@angular/material/core/index"' has no exported member '_Constructor'. 22 declare const _MatDatetimepickerContentBase: import("@angular/material/core")._Constructor & import("@angular/material/core")._AbstractConstructor & { Error: node_modules/@angular-material-components/datetime-picker/lib/datetime-picker.component.d.ts:22:137 - error TS2694: Namespace '".../node_modules/@angular/material/core/index"' has no exported member '_AbstractConstructor'. 22 declare const _MatDatetimepickerContentBase: import("@angular/material/core")._Constructor & import("@angular/material/core")._AbstractConstructor & { Error: node_modules/@angular-material-components/datetime-picker/lib/datetime-picker.component.d.ts:34:22 - error TS2420: Class 'NgxMatDatetimeContent' incorrectly implements interface 'CanColor'. 34 export declare class NgxMatDatetimeContent extends _MatDatetimepickerContentBase implements AfterViewInit, CanColor { Any idea how to solve this? Thank you in advance |
got the same error. My Problem was that I have installed the module for angular 13 but my project was on angular 12. Uninstall your current package and run this command:
Version 6 is for angular 12 projects. Version 7+ is for Angular 13 + |
No description provided.
The text was updated successfully, but these errors were encountered: