What version of Wijmo supports Angular 14

Posted by: david.x.collier on 25 September 2023, 4:24 am EST

  • Posted 25 September 2023, 4:24 am EST

    Hello,

    Installing the following version appears to have a requirement of running Angular 15 (^5.20231.904). Which version should I install that works with Angular 14?

    When compiling ^5.20231.904 this is the error message I get which suggests I would need to upgrade to Angular 15, which is not an option.

    [code]Error: node_modules/@grapecity/wijmo.angular2.grid/index.d.ts:892:18 - error TS2707: Generic type ‘ɵɵDirectiveDeclaration’ requires between 6 and 8 type arguments.

    892 static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<WjFlexGridCellTemplate, “[wjFlexGridCellTemplate]”, [“wjFlexGridCellTemplate”], { “wjFlexGridCellTemplate”: “wjFlexGridCellTemplate”; “cellTypeStr”: “cellType”; “cellOverflow”: “cellOverflow”; “valuePaths”: “valuePaths”; “autoSizeRows”: “autoSizeRows”; “forceFullEdit”: “forceFullEdit”; }, {}, never, never, false, never>;

    [/code]

    Thanks in advance

    /D

  • Posted 25 September 2023, 2:38 pm EST

    Hi David,

    You can use Angular14 with the latest version(5.20231.904) of Wijmo by setting the skipLibCheck option to true in the tsconfig file.

    This is required because of some internal changes that are done in Angular intrerop to make Wijmo compatible with Angular 16. Also because of the TypeScript version dependencies for Angular 14, you need to set the skipLibCheck options to true to make it work in Angular 14.

    So please set “compilerOptions.skipLibCheck=true” in your ‘tsconfig’ file as shown in below code snippet:

    {
      ...
      "compilerOptions": {
        "skipLibCheck": true,
        ...
      },

    Please refer to this sample for reference: Angular14_Wijmo5.20231.904_compilerOptions_sample.zip

    Thank you for your understanding.

    Regards

    Anirudh

  • Posted 26 September 2023, 12:46 am EST

    Thank you, that worked.

  • Posted 26 September 2023, 2:11 pm EST

    Hi David,

    Thank you for letting us know. Please feel free to contact us if you have any further questions.

    Regards

    Anirudh

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels