Inline into template
Inline a string or a basic template literal into an outer template literal.
Why is this refactoring helpful?
Unnecessary template expressions containing only a string or template literals can make templates hard to read. By inlining them, they become part of the template text, and you can read it without having to visual parse extra symbols.
Related Code Actions
- Extract selected text into variable
- Inline variable
- Merge string concatenation
- Convert template literal to string
- Remove unnecessary template literal