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 60e7740 commit 6367232Copy full SHA for 6367232
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.prototype.hasOwnProperty.call(DEPRECATED_CONFIG_COMPONENTS, ctorName)) {
+ if (ctorName && Object.hasOwn(DEPRECATED_CONFIG_COMPONENTS, ctorName)) {
38
return DEPRECATED_CONFIG_COMPONENTS[ctorName] as DeprecatedConfigEntry;
39
}
40
0 commit comments