mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +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:
1 parent
b4fdbace3d
commit
e79e14a7b8
3 files changed
+368
-1
No files matched your search
+1
-1
@@ -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