@types/react 18.0.25 → 18.0.27
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 +7 -5
- react/package.json +3 -3
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, 18 Jan 2023 19:02:49 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
@@ -1940,7 +1940,7 @@ declare namespace React {
|
|
1940
1940
|
content?: string | undefined;
|
1941
1941
|
controls?: boolean | undefined;
|
1942
1942
|
coords?: string | undefined;
|
1943
|
-
crossOrigin?:
|
1943
|
+
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
1944
1944
|
data?: string | undefined;
|
1945
1945
|
dateTime?: string | undefined;
|
1946
1946
|
default?: boolean | undefined;
|
@@ -2228,7 +2228,7 @@ declare namespace React {
|
|
2228
2228
|
autoFocus?: boolean | undefined;
|
2229
2229
|
capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
2230
2230
|
checked?: boolean | undefined;
|
2231
|
-
crossOrigin?:
|
2231
|
+
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
2232
2232
|
disabled?: boolean | undefined;
|
2233
2233
|
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
2234
2234
|
form?: string | undefined;
|
@@ -2280,7 +2280,7 @@ declare namespace React {
|
|
2280
2280
|
|
2281
2281
|
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
2282
2282
|
as?: string | undefined;
|
2283
|
-
crossOrigin?:
|
2283
|
+
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
2284
2284
|
href?: string | undefined;
|
2285
2285
|
hrefLang?: string | undefined;
|
2286
2286
|
integrity?: string | undefined;
|
@@ -2306,7 +2306,7 @@ declare namespace React {
|
|
2306
2306
|
autoPlay?: boolean | undefined;
|
2307
2307
|
controls?: boolean | undefined;
|
2308
2308
|
controlsList?: string | undefined;
|
2309
|
-
crossOrigin?:
|
2309
|
+
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
2310
2310
|
loop?: boolean | undefined;
|
2311
2311
|
mediaGroup?: string | undefined;
|
2312
2312
|
muted?: boolean | undefined;
|
@@ -2391,7 +2391,7 @@ declare namespace React {
|
|
2391
2391
|
async?: boolean | undefined;
|
2392
2392
|
/** @deprecated */
|
2393
2393
|
charSet?: string | undefined;
|
2394
|
-
crossOrigin?:
|
2394
|
+
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
2395
2395
|
defer?: boolean | undefined;
|
2396
2396
|
integrity?: string | undefined;
|
2397
2397
|
noModule?: boolean | undefined;
|
@@ -2823,6 +2823,7 @@ declare namespace React {
|
|
2823
2823
|
button: DetailedHTMLFactory<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
2824
2824
|
canvas: DetailedHTMLFactory<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>;
|
2825
2825
|
caption: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
|
2826
|
+
center: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
|
2826
2827
|
cite: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
|
2827
2828
|
code: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
|
2828
2829
|
col: DetailedHTMLFactory<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
|
@@ -3160,6 +3161,7 @@ declare global {
|
|
3160
3161
|
button: React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
3161
3162
|
canvas: React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>;
|
3162
3163
|
caption: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
3164
|
+
center: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
3163
3165
|
cite: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
3164
3166
|
code: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
3165
3167
|
col: React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "18.0.
|
3
|
+
"version": "18.0.27",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -151,8 +151,8 @@
|
|
151
151
|
"@types/scheduler": "*",
|
152
152
|
"csstype": "^3.0.2"
|
153
153
|
},
|
154
|
-
"typesPublisherContentHash": "
|
155
|
-
"typeScriptVersion": "4.
|
154
|
+
"typesPublisherContentHash": "9fe92d5e956ab2c31da7ffe14998f63a047b60ad3535ea9d4c629616fe5f512d",
|
155
|
+
"typeScriptVersion": "4.2",
|
156
156
|
"exports": {
|
157
157
|
".": {
|
158
158
|
"types": {
|