We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ec3e56 commit 4dc681bCopy full SHA for 4dc681b
ember_debug/utils/type-check.js
@@ -3,7 +3,7 @@ import {
3
ComputedProperty,
4
EmberObject,
5
meta as emberMeta,
6
- emberSafeRequire,
+ InternalsMetal,
7
} from 'ember-debug/utils/ember';
8
9
/**
@@ -41,7 +41,7 @@ export function getDescriptorFor(object, key) {
41
// exists longer than ember 3.10
42
if (Debug.isComputed) {
43
const { descriptorForDecorator, descriptorForProperty } =
44
- emberSafeRequire('@ember/-internals/metal') || {};
+ InternalsMetal || {};
45
return (
46
descriptorForDecorator?.(object[key]) ||
47
descriptorForProperty?.(object, key)
0 commit comments