-
-
Save alihammad-gist/414ecaf379f5a6830b57 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var e1: React.ReactElement<any> = React.DOM.li(); | |
var e2: ReactWithAddons.ReactElement<any> = ReactWithAddons.DOM.li(); | |
e1 = e2; | |
// produces error | |
// Error:(11, 1) TS2322: Type 'ReactElement<any>' is not assignable to type 'ReactElement<any>'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment