Open akramrabiie opened 1 year ago
Well, I changed the import statement and it worked by require
const retry = require('async-retry');
But based on your example it should've been worked with the import
🤔
I did have the same error using with typescript, but when i changed the syntax to 'import * as retry from 'async-retry'' it works, i dont know how
If you still stuck, check out this complete solution in TypeScript.
Hello I am getting this error while using
retry
(0 , async_retry_1.retry) is not a function
Here is my code:
Could you please help?