« All deprecation guides
Deprecation Guide for Ember.defineProperty
until: 7.0.0
id: deprecate-import-define-property-from-ember
Previously, defineProperty
could be accessed via the Ember
import:
import Ember from 'ember';
Ember.defineProperty
If needed, defineProperty
can be imported:
import { defineProperty } from '@ember/object';