Working on the new multi-user challenge using Endel's template and thank you to Endel for helping me use it. To start with I built a single user project locally using Javascript and everything works well. On transferring the code to main.ts in client folder in the template I get the following error for line 94, other lines OK
main.ts:94:15
Supplied parameters do not match any signature of call target.
code is
92 var subCSG = baseCSG.subtract(drillsCSG);
93
94 holder[i] = subCSG.toMesh("holder" + i, new BABYLON.StandardMaterial("mat", scene), scene);
so line 94 works OK in Javascript but not in Typescript - any idea why?