It seems as though there's a breaking change in thrift2flow 0.11.0 where maps become exact width maps in the js files:
3: optional map<string,string> myStringMap
Used to be this in 0.9.0
myStringMap?: ?{ [string]: string }
Is now this in 0.11.0
myStringMap?: ?{| [string]: string |}
This is a breaking change if flowtype was checking the types of assigned objects before. Afterward it produces this error:
Cannot assign Object.freeze(...) to pizza because property minSpend is missing in object type [1] but exists in object
literal [2] in property someVariable.myStringMap.