I'm not sure if it is all that fancy new TypeScript stuff, but the current version of the test.js fails:
phocking master ~ Workspace pr loupedeck-ct 1 node test.js
/home/phocking/Workspace/pr/loupedeck-ct/test.js:16
let ct = new CT({ uri: 'ws://'+ip+':80/'})
^
TypeError: CT is not a constructor
at Object.<anonymous> (/home/phocking/Workspace/pr/loupedeck-ct/test.js:16:10)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
Node.js v17.4.0
I'm not sure if it is all that fancy new TypeScript stuff, but the current version of the
test.js
fails: