@types/react 16.14.34 → 16.14.35

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 v16.14/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/v16.
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 v16.14/index.d.ts CHANGED
@@ -1905,7 +1905,7 @@ declare namespace React {
1905
1905
  content?: string | undefined;
1906
1906
  controls?: boolean | undefined;
1907
1907
  coords?: string | undefined;
1908
- crossOrigin?: string | undefined;
1908
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
1909
1909
  data?: string | undefined;
1910
1910
  dateTime?: string | undefined;
1911
1911
  default?: boolean | undefined;
@@ -2194,7 +2194,7 @@ declare namespace React {
2194
2194
  autoFocus?: boolean | undefined;
2195
2195
  capture?: boolean | string | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2196
2196
  checked?: boolean | undefined;
2197
- crossOrigin?: string | undefined;
2197
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2198
2198
  disabled?: boolean | undefined;
2199
2199
  form?: string | undefined;
2200
2200
  formAction?: string | undefined;
@@ -2245,7 +2245,7 @@ declare namespace React {
2245
2245
 
2246
2246
  interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
2247
2247
  as?: string | undefined;
2248
- crossOrigin?: string | undefined;
2248
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2249
2249
  href?: string | undefined;
2250
2250
  hrefLang?: string | undefined;
2251
2251
  integrity?: string | undefined;
@@ -2270,7 +2270,7 @@ declare namespace React {
2270
2270
  autoPlay?: boolean | undefined;
2271
2271
  controls?: boolean | undefined;
2272
2272
  controlsList?: string | undefined;
2273
- crossOrigin?: string | undefined;
2273
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2274
2274
  loop?: boolean | undefined;
2275
2275
  mediaGroup?: string | undefined;
2276
2276
  muted?: boolean | undefined;
@@ -2355,7 +2355,7 @@ declare namespace React {
2355
2355
  async?: boolean | undefined;
2356
2356
  /** @deprecated */
2357
2357
  charSet?: string | undefined;
2358
- crossOrigin?: string | undefined;
2358
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2359
2359
  defer?: boolean | undefined;
2360
2360
  integrity?: string | undefined;
2361
2361
  noModule?: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.14.34",
3
+ "version": "16.14.35",
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": "9b4107e39b4ec9cba67f9bcf81165374820b003b786d2153be080b774a627ac0",
150
- "typeScriptVersion": "4.1",
149
+ "typesPublisherContentHash": "1cd8adb2adbf25af0f02c5fda85037946c7dbc1c4673fd86cce0b7d2da118a26",
150
+ "typeScriptVersion": "4.2",
151
151
  "exports": {
152
152
  ".": {
153
153
  "types": {