let x: string = (foo: string);
// https://github.com/prettier/prettier/issues/3936
const foo = ((1?2:3): number);