Typescript
migration
byCodemod

Typescript/Use Template Literals

/icons/calendar.svg

Last update

Jul 24, 2024

This codemod replaces string concatenations with template literals.

Before

const name = 'John';
const greeting = 'Hello, ' + name + '!';

After

const name = 'John';
const greeting = `Hello, ${name}!`;

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now