Closed bbugh closed 2 years ago
defineKey's value was loosely typed as a String, but as far as I can tell from the code it's intended to be a value from the Phaser KeyCodes. This types value more strictly to be the specific inputs.
value
cc @zewa666
you're absolutely right @bbugh. I was doing just a quick initial type generation and have clearly overlooked this one.
Much appreciated! Always good to have another set of eyes on things.
Thanks again chaps!
defineKey's
value
was loosely typed as a String, but as far as I can tell from the code it's intended to be a value from the Phaser KeyCodes. This typesvalue
more strictly to be the specific inputs.cc @zewa666