flow2schema/tests/samples/values.js

9 lines
80 B
JavaScript

type X = {
a: string,
b: boolean,
};
type Y = $Values<X>;
export {Y};