Multiple with typescript issues - cannot resolve console and async function or method in ES5/ES3 requires the 'Promise' constructor


Was facing multiple issues trying to write up an async function. These error messages are as follows :-

1, Cannot resolve console and async function

Solution :- Requires tsconfig.json to have the following configuration

npm install @types/node

2. Method in ES5/ES3 requires the 'Promise' constructor

Solution












Comments

Popular posts from this blog

PySpark - Working with JDBC Sqlite database