1
Answer

How to use .ts file module in .js file?

I have a .ts file with:

export module test.employee {

 export interface person {
	name: string;
	age: number;
  }
 
}

Now I want to import and use person interface/class in normal JS file. 

So how we can do that?

Answers (1)