Closed gcanti closed 7 years ago
Test cases:
const x: number & number = 1 const obj: { a: number } & { b: number } = { a: 1, b: 2 }
Throws ReferenceError: compareIntersectionAnnotation is not defined
ReferenceError: compareIntersectionAnnotation is not defined
Hey @gcanti, I've deprecated this in favour of flow-runtime and published a first version to https://codemix.github.io/flow-runtime I checked and babel-plugin-flow-runtime does not have this particular bug.
babel-plugin-flow-runtime
Test cases:
Throws
ReferenceError: compareIntersectionAnnotation is not defined