title: Call typescript function in external javascript function
body: <p>i have one typescript file with name 'abc.ts' having a method call 'ScanCode()'. i have one separate js file "sample.js" having a method foo(). i want to call the scancode method of typescript in this sample js' foo method.</p>
  
  <p>I tried to import ts file in javascript but its not able to idetify 'import' function.</p>