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

The specified initialization vector (IV) does not match the block size for this algorithm