flow2schema/tests/samples/exact/source.js

11 lines
117 B
JavaScript

type X = {
x: string;
y: boolean;
}
type Y = $Exact<X>;
type Z = $Exact<{z: string}>;
export type {Y, Z};