SPFX Pretty

Home › How to fix › Properties

PRP004Guided fix

Localised string is never used

Why it matters

Dead strings make translation work bigger than it needs to be.

How to fix

  1. Apply Fix removes it from mystrings.d.ts and every loc/*.js file.

Microsoft articles

In VS Code: right-click the finding → Apply Fix…, or use ▶ Fix step by step in the report.