IterableIterator' is not assignable to parameter of type 'Saga0'.


This messages pops when in one typescript compilation routine. Tho i had the proper return type, i am still getting this error.

The workaround is pretty easy (just specify es2015.iterable inside lib) as shown below :-


{
"compilerOptions": {
"lib" : ["es2015", "es2015.iterable", "dom"]
},
"include": [
"./src/**/*"
]
}






Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type