@types/react 16.3.15 → 16.3.16
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 +1 -1
- 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: Thu, 31 May 2018
|
11
|
+
* Last updated: Thu, 31 May 2018 23:51:11 GMT
|
12
12
|
* Dependencies: csstype
|
13
13
|
* Global values: React
|
14
14
|
|
react/index.d.ts
CHANGED
@@ -369,7 +369,7 @@ declare namespace React {
|
|
369
369
|
// This should actually be something like `Lifecycle<P, S> | DeprecatedLifecycle<P, S>`,
|
370
370
|
// as React will _not_ call the deprecated lifecycle methods if any of the new lifecycle
|
371
371
|
// methods are present.
|
372
|
-
interface ComponentLifecycle<P, S, SS =
|
372
|
+
interface ComponentLifecycle<P, S, SS = any> extends NewLifecycle<P, S, SS>, DeprecatedLifecycle<P, S> {
|
373
373
|
/**
|
374
374
|
* Called immediately after a compoment is mounted. Setting state here will trigger re-rendering.
|
375
375
|
*/
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.3.
|
3
|
+
"version": "16.3.16",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -91,6 +91,6 @@
|
|
91
91
|
"dependencies": {
|
92
92
|
"csstype": "^2.2.0"
|
93
93
|
},
|
94
|
-
"typesPublisherContentHash": "
|
94
|
+
"typesPublisherContentHash": "37d052eb43cc9c2a34df7832cc7cc65e995acd20366caa21252118c636c93f5b",
|
95
95
|
"typeScriptVersion": "2.6"
|
96
96
|
}
|