@types/react 17.0.59 → 17.0.61
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 v17.0/README.md +1 -1
- react v17.0/index.d.ts +2 -1
- react v17.0/package.json +2 -2
react v17.0/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (https://react.dev/).
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react/v17.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Sat,
|
11
|
+
* Last updated: Sat, 10 Jun 2023 08:02:56 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 v17.0/index.d.ts
CHANGED
@@ -1310,7 +1310,7 @@ declare namespace React {
|
|
1310
1310
|
// ----------------------------------------------------------------------
|
1311
1311
|
|
1312
1312
|
/**
|
1313
|
-
* @deprecated
|
1313
|
+
* @deprecated This was used to allow clients to pass `ref` and `key`
|
1314
1314
|
* to `createElement`, which is no longer necessary due to intersection
|
1315
1315
|
* types. If you need to declare a props object before passing it to
|
1316
1316
|
* `createElement` or a factory, use `ClassAttributes<T>`:
|
@@ -2244,6 +2244,7 @@ declare namespace React {
|
|
2244
2244
|
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
2245
2245
|
as?: string | undefined;
|
2246
2246
|
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
2247
|
+
fetchpriority?: "high" | "low" | "auto";
|
2247
2248
|
href?: string | undefined;
|
2248
2249
|
hrefLang?: string | undefined;
|
2249
2250
|
integrity?: string | undefined;
|
react v17.0/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.61",
|
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": "17ffa825baf5480d31e5233c06c3dcbc3403d22c85dd08958e04d72e4bda7f05",
|
150
150
|
"typeScriptVersion": "4.3",
|
151
151
|
"exports": {
|
152
152
|
".": {
|