@types/react 17.0.52 → 17.0.53

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 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/v17.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 27 Oct 2022 11:32:50 GMT
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 v17.0/index.d.ts CHANGED
@@ -1904,7 +1904,7 @@ declare namespace React {
1904
1904
  content?: string | undefined;
1905
1905
  controls?: boolean | undefined;
1906
1906
  coords?: string | undefined;
1907
- crossOrigin?: string | undefined;
1907
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
1908
1908
  data?: string | undefined;
1909
1909
  dateTime?: string | undefined;
1910
1910
  default?: boolean | undefined;
@@ -2191,7 +2191,7 @@ declare namespace React {
2191
2191
  autoFocus?: boolean | undefined;
2192
2192
  capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2193
2193
  checked?: boolean | undefined;
2194
- crossOrigin?: string | undefined;
2194
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2195
2195
  disabled?: boolean | undefined;
2196
2196
  enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
2197
2197
  form?: string | undefined;
@@ -2243,7 +2243,7 @@ declare namespace React {
2243
2243
 
2244
2244
  interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
2245
2245
  as?: string | undefined;
2246
- crossOrigin?: string | undefined;
2246
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2247
2247
  href?: string | undefined;
2248
2248
  hrefLang?: string | undefined;
2249
2249
  integrity?: string | undefined;
@@ -2268,7 +2268,7 @@ declare namespace React {
2268
2268
  autoPlay?: boolean | undefined;
2269
2269
  controls?: boolean | undefined;
2270
2270
  controlsList?: string | undefined;
2271
- crossOrigin?: string | undefined;
2271
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2272
2272
  loop?: boolean | undefined;
2273
2273
  mediaGroup?: string | undefined;
2274
2274
  muted?: boolean | undefined;
@@ -2353,7 +2353,7 @@ declare namespace React {
2353
2353
  async?: boolean | undefined;
2354
2354
  /** @deprecated */
2355
2355
  charSet?: string | undefined;
2356
- crossOrigin?: string | undefined;
2356
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2357
2357
  defer?: boolean | undefined;
2358
2358
  integrity?: string | undefined;
2359
2359
  noModule?: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.52",
3
+ "version": "17.0.53",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -146,8 +146,8 @@
146
146
  "@types/scheduler": "*",
147
147
  "csstype": "^3.0.2"
148
148
  },
149
- "typesPublisherContentHash": "47c092a6bebf08099b32af5effb816d6d485e7ad065c409fcaf1ba01ab0b1549",
150
- "typeScriptVersion": "4.1",
149
+ "typesPublisherContentHash": "c9106368b5d3a546701f50123cd3796fa70441e013e1c867cee43e7861cd68a0",
150
+ "typeScriptVersion": "4.2",
151
151
  "exports": {
152
152
  ".": {
153
153
  "types": {