flow2schema/tests/samples/diffs/source.js

14 lines
147 B
JavaScript
Raw Normal View History

2017-12-02 16:03:29 +03:00
type A = {
x: string,
y: boolean,
};
type B = {
y: boolean,
};
type X = $Diff<A, B>;
type Y = $Diff<A, {x: string}>;
export {X, Y};