flow2schema/tests/samples/primitives.js

26 lines
316 B
JavaScript

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