@types/react 17.0.33 → 17.0.34
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 +3 -0
- 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: Wed, 03 Nov 2021 07:01:20 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
@@ -395,9 +395,12 @@ declare namespace React {
|
|
395
395
|
interface SuspenseProps {
|
396
396
|
children?: ReactNode | undefined;
|
397
397
|
|
398
|
+
// TODO(react18): `fallback?: ReactNode;`
|
398
399
|
/** A fallback react tree to show when a Suspense child (like React.lazy) suspends */
|
399
400
|
fallback: NonNullable<ReactNode>|null;
|
400
401
|
}
|
402
|
+
|
403
|
+
// TODO(react18): Updated JSDoc to reflect that Suspense works on the server.
|
401
404
|
/**
|
402
405
|
* This feature is not yet available for server-side rendering.
|
403
406
|
* Suspense support will be added in a later release.
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.34",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -146,6 +146,6 @@
|
|
146
146
|
"@types/scheduler": "*",
|
147
147
|
"csstype": "^3.0.2"
|
148
148
|
},
|
149
|
-
"typesPublisherContentHash": "
|
149
|
+
"typesPublisherContentHash": "7dd0704a75ca99d14193288faca425404207658104433a4b4d69a69f1386f46e",
|
150
150
|
"typeScriptVersion": "3.7"
|
151
151
|
}
|