hunk.code_window:   matchProp,
     inferTo,
     flush,
     mergeDefaultProps,
   } from './helpers'
   import { FrameValue, isFrameValue } from './FrameValue'
   import {
     SpringPhase,
     CREATED,
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:   getDefaultProp,
  
hunk.file_path: packages/core/src/SpringValue.ts
hunk.type: add
file: import { AnimatedObject } from 'animated'
  import { AnimatedTransform } from './AnimatedTransform'
  
  type Style = object & { transform?: any }
  
  export class AnimatedStyle extends AnimatedObject {
    constructor(style?: Style) {
      super(style || null)
    }
  
    setValue(style: Style | null) {
      super.setValue(
        style && style.transform
          ? { ...style, transform: new AnimatedTransform(style.transform) }
          : style
      )
    }
  }
  