Hello all
Im kinda new to typescript (and turbulenz) and to try out typescript I tried to convert
the helloworld example into typescript.
I added all the ref files on the top and the tsc compiler works fine.
However, when compiling I get the following error:
myfirstapp.ts(105,31): error TS2339: Property 'worldViewProjection' does not exist on type 'TechniqueParameters'.
The error is on the line where the code tries to assign something to techniqueParameters.worldViewProjection.
techniqueParameters is created as:
var techniqueParameters = gd.createTechniqueParameters({
worldViewProjection: md.m44BuildIdentity()
});
Im guessing this has something with that typescript does not know what createTechniqueParameters()
returns (or what properties it creates).
I would be helpful for a nod in the correct direction.
cheers