C

ember/5/cp-property-map

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

.property() is a modifier that adds additional property dependencies to an existing computed property. For filter, map, and sort computed property macros, this codemod ensures they receive an array of additional dependent keys as a second parameter.

Before

jsx

After

tsx

Ready to contribute?

Build your own codemod and share it with the community.