Execute the following command:
npm i @openmotics/types
Add this line to the 'include' section of your tsconfig of your project:
"node_modules/openmotics-types/**/*"
Your tsconfig.json
structure should look like this after adding the line:
{
...
"include": [
"node_modules/@openmotics/types/**/*",
...
],
...
}