Importar arquivo JS no TypeScript

// Add to tsconfig.json:
{
  "compilerOptions": {
      ...
      "allowJs": true
      ...
  }
}
  
import MyModule from './../pages/MyModule';
VasteMonde