flow2schema/tests/primitives.js

24 lines
282 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
}