Redux-persist: "Unexpected token in" from Flow

Created on 3 Nov 2017  路  2Comments  路  Source: rt2zz/redux-persist

I get the following Flow errors on a project for which I have redux-persist installed.

Error: node_modules/redux-persist/es/index.js.flow:53
 53: declare function createTransform(in: Transformer, out: Transformer, config?: TransformConfig): Transform
                                      ^^ Unexpected token in

Error: node_modules/redux-persist/lib/index.js.flow:53
 53: declare function createTransform(in: Transformer, out: Transformer, config?: TransformConfig): Transform
                                      ^^ Unexpected token in

I assume this is because in is a reserved word

Most helpful comment

Any chance we can get a fix for that in v4?

All 2 comments

this has been fixed in 5.3.4 馃憤

Any chance we can get a fix for that in v4?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

openscript picture openscript  路  4Comments

scic picture scic  路  3Comments

umairfarooq44 picture umairfarooq44  路  3Comments

jrmdayn picture jrmdayn  路  4Comments

Clumsy-Coder picture Clumsy-Coder  路  3Comments