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 6385db7 commit 2a00f9fCopy full SHA for 2a00f9f
packages/devextreme-angular/src/core/deprecated-config-warning.ts
@@ -34,7 +34,7 @@ function getHostMapping(host: INestedOptionContainer | undefined): DeprecatedCon
34
visited.add(current);
35
36
const ctorName = current.constructor?.name;
37
- if (ctorName && Object.hasOwn(DEPRECATED_CONFIG_COMPONENTS, ctorName)) {
+ if (ctorName && Object.prototype.hasOwnProperty.call(DEPRECATED_CONFIG_COMPONENTS, ctorName)) {
38
return DEPRECATED_CONFIG_COMPONENTS[ctorName] as DeprecatedConfigEntry;
39
}
40
0 commit comments