/**
 * The PropTypes.EmberComponent validator
 */

import Ember from 'ember'
const {typeOf} = Ember

import logger from '../logger'

export default function (ctx, name, value, def, logErrors, throwErrors) {
  const isObject = typeOf(value) === 'object'

  const valid = isObject && Object.keys(value).some((key) => {
    // NOTE: this is based on internal API and thus could break without warning.
    return key.indexOf('COMPONENT_CELL') === 0
  })

  if (!valid && logErrors) {
    logger.warn(ctx, `Expected property ${name} to be an Ember.Component`, throwErrors)
  }

  return valid
}

@@ -402,16 +402,24 @@
  return 
+(%0A      
 key.inde
@@ -445,16 +445,103 @@
 ') === 0
+ %7C%7C // Pre Glimmer 2%0A      key.indexOf('COMPONENT DEFINITION') === 0 // Glimmer 2%0A    )
 %0A  %7D)%0A%0A 

Fix EmberComponent prop type for Ember 2.11