You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to breaking changes on TypeScript 3.7 (link) it's not possible to use this lib using Angular 8.
If you try to use it you get the following compilation errors:
ERROR in node_modules/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts:11:9 - error TS1086: An accessor cannot be declared in an ambient context.
11 set items(items: INavData[]);
~~~~~
node_modules/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-items.component.d.ts:12:9 - error TS1086: An accessor cannot be declared in an ambient context.
12 get items(): INavData[];
~~~~~
node_modules/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts:15:9 - error TS1086: An accessor cannot be declared in an ambient context.
15 set item(item: INavData);
~~~~
node_modules/@coreui/angular/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.d.ts:16:9 - error TS1086: An accessor cannot be declared in an ambient context.
16 get item(): INavData;
~~~~
node_modules/@coreui/angular/lib/sidebar/app-sidebar.component.d.ts:13:9 - error TS1086: An accessor cannot be declared in an ambient context.
13 get minimized(): boolean;
~~~~~~~~~
node_modules/@coreui/angular/lib/sidebar/app-sidebar.component.d.ts:14:9 - error TS1086: An accessor cannot be declared in an ambient context.
14 set minimized(value: boolean);
~~~~~~~~~
Due to breaking changes on TypeScript 3.7 (link) it's not possible to use this lib using Angular 8.
If you try to use it you get the following compilation errors:
Environment details:
The text was updated successfully, but these errors were encountered: