excaliburjs / Excalibur

🎮 Your friendly TypeScript 2D game engine for the web 🗡️
https://excaliburjs.com
BSD 2-Clause "Simplified" License
1.77k stars 189 forks source link

JSDocs System.ts #3123

Closed robbertstevens closed 2 months ago

robbertstevens commented 2 months ago

Steps to Reproduce

Look at JSDoc in the System.ts file.

You see in the class comment System<T> while the class doesn't have a generic.

You see in the update method a @params entities JSdoc while the method doesn't have param.

Expected Result

The JSDocs not to the correct JSdoc

Actual Result

Environment

Current Workaround

No need, it works. Only docs are not correct.

eonarheim commented 2 months ago

@robbertstevens Good find, definitely needs a fix