When using a named flow typ, e.g.
type MyObject = {
foo: number,
bar: boolean,
baz: string,
}
It seems to mess up the syntax highlighting of the code below it, however it seems you can fix this by simply adding a semi-colon to the end
type MyObject = {
foo: number,
bar: boolean,
baz: string,
};
Not a big issue but I thought I should mention it in case others run in to it.