In TypeScript I wrote a function that returns all directories or files of a given path. I started using a recursive async approach and this works absolutely fine.
At