Open martinbohmcz opened 7 months ago
Is your feature request related to a problem? Please describe. When I am printing array using inside javascript, Latte Plugin (v1.2) underlines the print macro with "Print invalid type: array".
Minimal code to reproduce.
{var $var = [1,2,3]} <script> const annotations = {$var}; </script>
Print macro is obviously context-specific. See: https://fiddle.nette.org/latte/#b7da4d3c6c
Describe the solution you'd like Would it be possible the plugin does not report printing array inside Githubissues.
Is your feature request related to a problem? Please describe. When I am printing array using inside javascript, Latte Plugin (v1.2) underlines the print macro with "Print invalid type: array".
Minimal code to reproduce.
Print macro is obviously context-specific. See: https://fiddle.nette.org/latte/#b7da4d3c6c
Describe the solution you'd like Would it be possible the plugin does not report printing array inside Githubissues.