Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

176
Views
Obtener la respuesta no es un error definido incluso después de la declaración de importación correcta

Estoy tratando de determinar la instancia de Respuesta en el siguiente código:

if (!(res instanceof Response)) res = null

He usado la siguiente declaración de importación para importar la respuesta de express

import { Response } from 'express';

Aún así, recibo este error: {"date":"Tue Jul 26 2022 13:21:42 GMT+0530 (India Standard Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Response is not defined\nReferenceError: Response is not defined

¿Qué es exactamente lo que estoy haciendo mal en este escenario?

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!