Lets say I have this foo.js file where I declared a variable, a function and a class.
It is not in the project yet.
Now assume I want to use this variable, class and function in my home.ts method, or just make it globally available (to use in a home.ts method).
How can I make it happen?
lets say in your foo.ts file we have a funtion
now if you want to make use of this function in home.ts file the
step1: import your foo.ts file in home.ts
step2: in your export class should look like this