I am using Angular 11 and Typescript 4.05 and “smart-webcomponents-angular”: “^9.0.5″, I am seeing following errors, Can you please help?
Error: src/main/webapp/app/dashboard/ops/ops.component.html:24:39 – error TS2322: Type ‘{ enabled: boolean; mode: string; }’ is not assignable to type ‘GridEditing’.
Types of property ‘mode’ are incompatible.
Type ‘string’ is not assignable to type ‘”cell” | “row” | undefined’.
<smart-grid [columns]=”columns” [editing]=”editing” [grouping]=”grouping” [dataSource]=”dataSource” id=”grid”></smart-grid>
~~~~~~~~~~~~~~~~~~~
src/main/webapp/app/dashboard/ops/ops.component.ts:17:16
templateUrl: ‘./ops.component.html’,
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component OpsComponent.
src/main/webapp/app/dashboard/ops/ops.component.html:24:59 – error TS2322: Type ‘{ enabled: boolean; renderMode: string; groupBar: { visible: boolean; }; }’ is not assignable to type ‘GridGrouping’.
Types of property ‘renderMode’ are incompatible.
Type ‘string’ is not assignable to type ‘”compact” | “basic” | “advanced” | undefined’.
<smart-grid [columns]=”columns” [editing]=”editing” [grouping]=”grouping” [dataSource]=”dataSource” id=”grid”></smart-grid>
~~~~~~~~~~~~~~~~~~~~~
src/main/webapp/app/dashboard/ops/ops.component.ts:17:16
templateUrl: ‘./ops.component.html’,
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component OpsComponent.