function getShapeProperties(node) {
  return node.arguments
    && node.arguments[0]
    && node.arguments[0].properties;
}
Returns the properties of a PropTypes.shape.

@param {ASTNode} node the prop to check.
@returns {Array} the properties of the PropTypes.shape node.