diff --git a/src/createAnimatedComponent.js b/src/createAnimatedComponent.js
index <HASH>..<HASH> 100644
--- a/src/createAnimatedComponent.js
+++ b/src/createAnimatedComponent.js
@@ -269,7 +269,7 @@ export default function createAnimatedComponent(Component) {
       }
       if (this.props.style) {
         for (const style of flattenStyles) {
-          if (typeof style === 'object' && 'viewDescriptor' in style) {
+          if (style?.hasOwnProperty('viewDescriptor')) {
             return true;
           }
         }
Fix access to 'viewDescriptor' property in `createAnimatedComponent` (#<I>)