Typescript/Use Template Literals

1.0.3Last update Jul 24, 2024
by@Codemod
Typescript
migration

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