Hello, this PR adds typescript and type annotations everywhere i could.
I don't get why most of the files are C/Ced in the ecctrlNPMPackage folder but i still changed them (including package.json and tsconfig.json)
I mostly didn't change anything functional except :
casting slopeAngle to Number (in Ecctrl.tsx line 874)
adding a second argument = false for every call of applyImpulse, applyImpulseAtPoint and applyTorqueImpulse where the second argument wasn't provided = undefined
Hello, this PR adds typescript and type annotations everywhere i could.
I don't get why most of the files are C/Ced in the
ecctrlNPMPackage
folder but i still changed them (includingpackage.json
andtsconfig.json
)I mostly didn't change anything functional except :
applyImpulse
,applyImpulseAtPoint
andapplyTorqueImpulse
where the second argument wasn't provided = undefinedTho I don't think any of those changes matter