flow2schema/tests/primitives.js

26 lines
316 B
JavaScript
Raw Normal View History

2017-10-29 15:42:46 +03:00
type Type = {
a: string,
b: number,
c: boolean,
d: null,
2017-10-29 16:17:10 +03:00
e: Buffer,
2017-10-29 15:42:46 +03:00
};
interface Interface {
a: string;
b: number;
c: boolean;
d: null;
2017-10-29 16:17:10 +03:00
e: Buffer;
2017-10-29 15:42:46 +03:00
};
class Class {
a: string;
b: number;
c: boolean;
d: null;
2017-10-29 16:17:10 +03:00
e: Buffer;
2017-10-29 15:42:46 +03:00
}
2017-11-09 12:10:21 +03:00
export {Type, Interface, Class};