mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
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:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user