Sometimes on one-liners source formatting collapses last space. This is incorrect and causes warnings.
Example
const x = (a: any) => {const y = 1 + 2; return 1; };
This is correct and passes without warnings.
Ctrl+Shift+F and it becomes:
const x = (a: any) => {const y = 1 + 2; return 1;};
which has space removed between ;} and causes a warning “missing whitespace”.
I think there are other similar cases with data structures.