Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
284 B
284 B
Fix template literal print with array (#13315 by @fisker, @syi0808)
// Input
const string = `${[[1, 2], [3, 4]]}`
// Prettier stable
const string = `${[
[1, 2],
[3, 4],
]}`;
// Prettier main
const string = `${[
[1, 2],
[3, 4],
]}`;