@types/react 16.9.8 → 16.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- react/README.md +1 -1
- react/index.d.ts +2 -2
- react/package.json +2 -2
react/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (http://facebook.github.io/reac
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react
|
9
9
|
|
10
10
|
Additional Details
|
11
|
-
* Last updated: Wed, 16 Oct 2019
|
11
|
+
* Last updated: Wed, 16 Oct 2019 18:09:53 GMT
|
12
12
|
* Dependencies: @types/csstype, @types/prop-types
|
13
13
|
* Global values: React
|
14
14
|
|
react/index.d.ts
CHANGED
@@ -417,6 +417,7 @@ declare namespace React {
|
|
417
417
|
/**
|
418
418
|
* If using the new style context, re-declare this in your class to be the
|
419
419
|
* `React.ContextType` of your `static contextType`.
|
420
|
+
* Should be used with type annotation or static contextType.
|
420
421
|
*
|
421
422
|
* ```ts
|
422
423
|
* static contextType = MyContext
|
@@ -426,8 +427,7 @@ declare namespace React {
|
|
426
427
|
* declare context: React.ContextType<typeof MyContext>
|
427
428
|
* ```
|
428
429
|
*
|
429
|
-
* @
|
430
|
-
* @see https://reactjs.org/docs/legacy-context.html
|
430
|
+
* @see https://reactjs.org/docs/context.html
|
431
431
|
*/
|
432
432
|
// TODO (TypeScript 3.0): unknown
|
433
433
|
context: any;
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.9.
|
3
|
+
"version": "16.9.9",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -119,6 +119,6 @@
|
|
119
119
|
"@types/prop-types": "*",
|
120
120
|
"csstype": "^2.2.0"
|
121
121
|
},
|
122
|
-
"typesPublisherContentHash": "
|
122
|
+
"typesPublisherContentHash": "7de3d69e84f5af61b3bc760bd4f2a18634fcbf57e7bf7cc4e0306aadb498307e",
|
123
123
|
"typeScriptVersion": "2.8"
|
124
124
|
}
|