Closed ondrovic closed 2 weeks ago
A trailing comma is required when writing generics in JSX. This is because the angle brackets will be interpreted as tags otherwise. The same behaviour is present in other editors, such as VS Code.
If you're not intending to write JSX, you can turn it off in the build settings:
That solved it thanks
Sometimes when writing generic functions they fail. See below for explanation and examples