facebook/react — pull request #466 by spicyj (2013-11-02 00:57:24+00:00)
Title: Warn for an invalid propType specification

Closes #415.

We could use `invariant` but that'll break code for people who currently have invalid specs -- I'm undecided on whether that's a good or bad thing.