TypeScript version

Posted by: grapecity on 13 November 2017, 6:10 pm EST

    • Post Options:
    • Link

    Posted 13 November 2017, 6:10 pm EST

    I am using Wijmo Library 5.20172.359 in Visual Studio 2017

    What TypeScript version do I need to run my project with Visual studio 2017?

    I was using Wijmo Library 5.20151.51 in Visual Studio 2017 and that used Typscript 1.0

    We are upgrading the wijmo library.

  • Posted 14 November 2017, 12:20 am EST

    Hi Greg,

    You need to use TS v2.0 or above in the project.

    ~Manish

  • Posted 16 November 2017, 6:10 pm EST

    I am using 2.3 in Visual studio 2017.

    If I put the *.ts files in the project I get 200+ errors

    if I just use the *.d.ts and *.min.js and/or *.js it is good

    I cannot turn off typescript on build as we use it to program other components

    I have tried excluding, but we also extend wijmo and there that doesn’t work for the derived class

    So what is with all these type exceptions, from wijmo *.ts files when using ts 2.0+ ?

  • Posted 20 November 2017, 1:36 am EST

    Hi Greg,

    You need to use *.d.ts file and *.js file in your project. If you are working on Angular 2+ project, you need to install NPM images in node_modules folder.

    Please have a look on attached sample created using Typescript.

    ~Manish

    FlexGridPager.zip

Need extra support?

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

Learn More

Forum Channels