In cases where I use a stream.
https://flowtype.org/
// @flow
var foo = (str: string) => {
return str;
};
and Eslint together, Eslint reports an unexpected token on str: string.
Is there a way to force Eslint to ignore (or recognize) stream types and not report errors?
source
share