Reorganize React definitions

This commit is contained in:
James Brantly
2015-08-27 22:09:55 -04:00
parent e5de5c4daf
commit 07c4e447f1
6 changed files with 1080 additions and 2017 deletions
+2 -8
View File
@@ -1,11 +1,5 @@
# React v0.13.3 Type Definitions
This folder contains the following `.d.ts` files:
* `react.d.ts` declares the external module `"react"`
* `react-addons.d.ts` declares the external module `"react/addons"`
* `react-global.d.ts` declares the internal module `React` in the global namespace
* `react-addons-global.d.ts` extends the global `React` module with `addons`
Interfaces are duplicated between these files; please take care to keep them in sync when making changes.
See [#3615](https://github.com/borisyankov/DefinitelyTyped/pull/3615) for relevant discussion.
* `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`)