If I have a onclick event of a grid cell setup like this
<tr onclick="SceneryInfo(0)">
then there is no error triggered, however if I add php into the mix to set the passed parameter such as
<tr onclick="SceneryInfo( <?php ECHO $SceneryID; ?> )">
Then I get TS2554 (JS) Expected 1 arguments, but got 0.
Is it my coding that is wrong or a false positive?