I was trying to debug a 'expected 0 arguments but got 1' error and I found out that my function is considered a JSX element, which probably causes the issue. How can I specify it is a regular function?
Above is the function I am trying to export from a .tsx file and then use it in another file like so:
pay(10).
How can I do that? There is a functional component in the same .tsx file by the way.
