the deprecation-id to switch to "log"
the deprecation-id to switch to "silonce"
the deprecation-id to switch to "throw"
the deprecation-id to remove
import { js, ember } from 'ember-apply';
await js.transform('path/to/deprecation-workflow.js', ({ root, j }) => {
let { ensureThrow, ensureLog } = ember.deprecations.withAST({ root, j });
ensureThrow('computed-property.override');
ensureLog('ember-modifier.function-based-options');
});
Generated using TypeDoc
the root and jscodeshift object from js.transform