await has no effect on the type of this expression in nodejs (mssql)

Viewed 22

I wrote a service using mssql in nodejs.It was working without any problems before. But now it gives an error in the await part and does not work properly.I would be glad if you help.

let pool = await sql.connect(config.sql);

0 Answers
Related