@types/react 18.0.9 → 18.0.10
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 -4
- 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: Tue, 31 May 2022 18:31:37 GMT
|
12
12
|
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
|
13
13
|
* Global values: `React`
|
14
14
|
|
react/index.d.ts
CHANGED
@@ -1117,7 +1117,7 @@ declare namespace React {
|
|
1117
1117
|
}
|
1118
1118
|
|
1119
1119
|
/**
|
1120
|
-
* Returns a deferred version of the value that may “lag behind” it
|
1120
|
+
* Returns a deferred version of the value that may “lag behind” it.
|
1121
1121
|
*
|
1122
1122
|
* This is commonly used to keep the interface responsive when you have something that renders immediately
|
1123
1123
|
* based on user input and something that needs to wait for a data fetch.
|
@@ -1141,9 +1141,7 @@ declare namespace React {
|
|
1141
1141
|
* The first is a boolean, React’s way of informing us whether we’re waiting for the transition to finish.
|
1142
1142
|
* The second is a function that takes a callback. We can use it to tell React which state we want to defer.
|
1143
1143
|
*
|
1144
|
-
* **If some state update causes a component to suspend, that state update should be wrapped in a transition
|
1145
|
-
*
|
1146
|
-
* @param config An optional object with `timeoutMs`
|
1144
|
+
* **If some state update causes a component to suspend, that state update should be wrapped in a transition.**`
|
1147
1145
|
*
|
1148
1146
|
* @see https://reactjs.org/docs/concurrent-mode-reference.html#usetransition
|
1149
1147
|
*/
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "18.0.
|
3
|
+
"version": "18.0.10",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -146,7 +146,7 @@
|
|
146
146
|
"@types/scheduler": "*",
|
147
147
|
"csstype": "^3.0.2"
|
148
148
|
},
|
149
|
-
"typesPublisherContentHash": "
|
149
|
+
"typesPublisherContentHash": "ef8b72955a7acfbd929561b1f7500bca1542317134a2e15ded280c10be36353c",
|
150
150
|
"typeScriptVersion": "3.9",
|
151
151
|
"exports": {
|
152
152
|
".": {
|