'null' is a reserved word category


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:

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)

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:

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.