Home › How to fix › Properties
PRP001Guided fixProperty declared but never used
Why it matters
Unused properties are still saved with every instance on every page, and confuse whoever maintains the code.
How to fix
- If it is truly unused: Apply Fix removes it from the props interface (and the manifest defaults).
- If it should be used: read it in render() or add a property pane field for it.
Microsoft articles
- Make your web part configurable (property pane)learn.microsoft.com
- Simplify adding web parts with preconfigured entries (title, description, icon, group)learn.microsoft.com
In VS Code: right-click the finding → Apply Fix…, or use ▶ Fix step by step in the report.