'null' is a reserved word category

Hello,

I have the enterprise edition of Gantt version 7.0.0. (Also tried with pro demo of 7.0.4)
I tried to integrate it with my new Vue project which uses Typescript following this blog post (link) but I get the following error:

<path_to_lib>\gantt_7.0.0\codebase\dhtmlxgantt.js
11:426571 error Parsing error: Identifier expected. ‘null’ is a reserved word that cannot be used here

Is this a bug in the library or am I doing something wrong?
I have the library inside the src/assets/ext-lib/gantt… (like I did on my previouse angular project)
If I move it outside of src the error does not occur (I guess because the code is not compiled/checked)

Hello,
You can install the Pro version as an NPM package the following way:

  1. Unpack Gantt to a specific folder, for example, to /opt/gantt_pro
  2. Use the following command to install Gantt:
npm install /opt/gantt_pro

You can read more about installation methods in the following article:
https://docs.dhtmlx.com/gantt/desktop__install_with_bower.html#addingproeditionintoproject

If you get any error messages, try deleting all files and folders inside the unpacked folder except the codebase folder and the package.json file.