It seems like using nested generic types ends up breaking syntax highlighting for the rest of the file.
Minimal Repro
// @flow
const OOF = new Map<number, Map<number, string>>();
export function thing(): Array<number> {
return [1, 2, 3];
}

Formatting the code this way doesn't cause the same problem, if it helps track down the root cause:
// @flow
const OOF = new Map<
number,
Map<
number,
string,
>
>();
export function thing(): Array<number> {
return [1, 2, 3];
}

Thanks in advance for your help!
It seems like using nested generic types ends up breaking syntax highlighting for the rest of the file.
Minimal Repro
Formatting the code this way doesn't cause the same problem, if it helps track down the root cause:
Thanks in advance for your help!