483 B
483 B
Improve formatting for assignment its left can break (#15547 by @sosukesuzuki)
// Input
params["redirectTo"] =
`${window.location.pathname}${window.location.search}${window.location.hash}`;
// Prettier stable
params[
"redirectTo"
] = `${window.location.pathname}${window.location.search}${window.location.hash}`;
// Prettier main
params["redirectTo"] =
`${window.location.pathname}${window.location.search}${window.location.hash}`;