Ember/5/Array Wrapper

1.0.2Last update Jan 10, 2025
by@Codemod
Ember
migration

This codemod removes any usage of new with A, and calls A as a standard function.

Before

import { A } from "@ember/array";
let arr = new A();

After

import { A as emberA } from "@ember/array";
let arr = A();

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now