You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using eta to generate generate some typescript code. when it read variable it will call specific typescript function via functionHeader. So far it work well until I need to define function/if/else cause it content symbol "{}" as below. I addedm ''mbefore the result same. EtaError [Eta Error]: Bad template syntax
To Reproduce
Steps to reproduce the behavior:
Type in 'functionHeader consist of {/}'
Call function 'functionHeader'
Look at result in 'console'
Expected behavior
by right it shall execute correctly and complete update template.
Describe the bug
I'm using eta to generate generate some typescript code. when it read variable it will call specific typescript function via functionHeader. So far it work well until I need to define function/if/else cause it content symbol "{}" as below. I addedm ''mbefore the result same.
EtaError [Eta Error]: Bad template syntax
To Reproduce
Steps to reproduce the behavior:
Expected behavior
by right it shall execute correctly and complete update template.
Screenshots
Below screenshoot demonstrate generate failed
Package & Environment Details
node v20.9.0
OS: MacOS
The text was updated successfully, but these errors were encountered: