@types/react 16.4.5 → 16.4.6
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:
|
11
|
+
* Last updated: Sat, 30 Jun 2018 02:47:51 GMT
|
12
12
|
* Dependencies: csstype
|
13
13
|
* Global values: React
|
14
14
|
|
react/index.d.ts
CHANGED
@@ -306,7 +306,7 @@ declare namespace React {
|
|
306
306
|
// In the future, if we can define its call signature conditionally
|
307
307
|
// on the existence of `children` in `P`, then we should remove this.
|
308
308
|
readonly props: Readonly<{ children?: ReactNode }> & Readonly<P>;
|
309
|
-
state:
|
309
|
+
state: Readonly<S>;
|
310
310
|
/**
|
311
311
|
* @deprecated
|
312
312
|
* https://reactjs.org/docs/legacy-context.html
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.4.
|
3
|
+
"version": "16.4.6",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -101,6 +101,6 @@
|
|
101
101
|
"dependencies": {
|
102
102
|
"csstype": "^2.2.0"
|
103
103
|
},
|
104
|
-
"typesPublisherContentHash": "
|
104
|
+
"typesPublisherContentHash": "2eae3a080b6dea719f50e3e92e73e9d1aec14ec358ea32d9efc693fed21d5e4b",
|
105
105
|
"typeScriptVersion": "2.6"
|
106
106
|
}
|