Example
This codemod adds an empty component TS signature to glimmer components
Before
export default class MyButtonComponent extends Component {...}
After
interface MyButtonSignature {// The arguments accepted by the componentArgs: {};// Any blocks yielded by the componentBlocks: {default: [];};// The element to which `...attributes` is applied in the component templateElement: null;}export default class MyButtonComponent extends Component<MyButtonSignature> {...}
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community