Fix leading comments in mapped types with readonly (#13427 by @thorn0, @sosukesuzuki) // Input type Type = { // comment readonly [key in Foo]; }; // Prettier stable type Type = { readonly // comment [key in Foo]; }; // Prettier main type Type = { // comment readonly [key in Foo]; };