I understand this is really simple, but typescript seems to have changed a lot in recent years, and I just can't do it with the previous answers I found here when the stack overflowed.
let myfunction = something that returns a function export myfunction;
I get an error message or expected message "
How can I export a function from a really simple ts file to be able to use this function in another ts file?
source share