@types/react 15.7.17 → 15.7.19
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 v15.7/README.md +1 -1
- react v15.7/index.d.ts +2 -1
- react v15.7/package.json +2 -2
react v15.7/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/v15.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Sat,
|
11
|
+
* Last updated: Sat, 10 Jun 2023 08:02:56 GMT
|
12
12
|
* Dependencies: none
|
13
13
|
* Global values: `React`
|
14
14
|
|
react v15.7/index.d.ts
CHANGED
@@ -565,7 +565,7 @@ declare namespace React {
|
|
565
565
|
// ----------------------------------------------------------------------
|
566
566
|
|
567
567
|
/**
|
568
|
-
* @deprecated
|
568
|
+
* @deprecated This was used to allow clients to pass `ref` and `key`
|
569
569
|
* to `createElement`, which is no longer necessary due to intersection
|
570
570
|
* types. If you need to declare a props object before passing it to
|
571
571
|
* `createElement` or a factory, use `ClassAttributes<T>`:
|
@@ -2947,6 +2947,7 @@ declare namespace React {
|
|
2947
2947
|
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
2948
2948
|
as?: string | undefined;
|
2949
2949
|
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
2950
|
+
fetchpriority?: "high" | "low" | "auto";
|
2950
2951
|
href?: string | undefined;
|
2951
2952
|
hrefLang?: string | undefined;
|
2952
2953
|
integrity?: string | undefined;
|
react v15.7/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "15.7.
|
3
|
+
"version": "15.7.19",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -62,7 +62,7 @@
|
|
62
62
|
},
|
63
63
|
"scripts": {},
|
64
64
|
"dependencies": {},
|
65
|
-
"typesPublisherContentHash": "
|
65
|
+
"typesPublisherContentHash": "05876cfaa4d7f92a80b92375555ddad86b19065d411a5a8a5935d3d7595be345",
|
66
66
|
"typeScriptVersion": "4.3",
|
67
67
|
"exports": {
|
68
68
|
".": {
|