Fixup the global definitions.

Originally had renamed react-global.d.ts to react-namespace.d.ts. After thinking about it further I don't think a rename really benefits anyone and would just cause confusion with people trying to upgrade. Also I had missed the `.d` in the original rename. Additionally adding some tests for the global version since there were none.
This commit is contained in:
James Brantly
2015-09-03 23:07:28 -04:00
parent b4fdbace3d
commit e79e14a7b8
3 changed files with 368 additions and 1 deletions

View File

@@ -2,4 +2,4 @@
This folder contains the following `.d.ts` files:
* `react.d.ts` declares the module `"react"` and `"react/addons"`
* `react-namespace.d.ts` declares the global namespace `React` (only include this if you are actually using the global `React`)
* `react-global.d.ts` declares the global namespace `React` (only include this if you are actually using the global `React`)