flow2schema/tests/samples/primitives/source.js

23 lines
271 B
JavaScript

type Type = {
a: string,
b: number,
c: boolean,
d: null,
};
interface Interface {
a: string;
b: number;
c: boolean;
d: null;
};
class Class {
a: string;
b: number;
c: boolean;
d: null;
}
export {Type, Interface, Class};