Open jedwards1211 opened 6 years ago
I tried using multiple indexers in one shape and got a "multiple indexers not supported", so I guess flow isn't necessarily intended to support an intersection of objects with indexers either?
declare export var oppositeOf: {
[side: Side]: Side,
[direction: Direction]: Direction,
[dimension: Dimension]: Dimension,
[axis: Axis]: Axis,
}
For some reason I can't reproduce this in try flow; it only seems to be happening when I import the type declarations from one of my own packages.
The
oppositeOf
type below stopped working somewhere after Flow 0.56.0:Reproduction
git clone https://github.com/jcoreio/react-arrow.git
cd react-arrow
git checkout 2519794250bdf24f26701f0356cf11bcb29c8278
yarn
yarn run flow
(no errors - flow 0.56.0)flow stop
yarn add --dev flow-bin@0.63.1
yarn run flow
New errors