Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

239
Vistas
How to use Javascript module in typescript

I have a third-party Javascript module that is done in AMD way. I do not have typing file (type.d) for it nor I can create the typing file.

But I need to use the module in one of the typescript How can I do it.

Please note I have also a few javascript files which are using the third-party javascript module there I am using it this way

       require(["thirdPartyModule"], function(module){

             //this is just example code
             module.doSomething();

             //more code here
         }

How can I do the same thing in typescript asking it to load the Js module as a dependency. Also we since another Javascript is already loading the module hence we have the third party module loaded in DOM already through requireJs

Any help or pointer to read will highly be appricated

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

i think you just need to import those JS files into your HTML and then you should be able to use them

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda