@types/react 15.7.11 → 15.7.12

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 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/v15.
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: none
13
13
  * Global values: `React`
14
14
 
react v15.7/index.d.ts CHANGED
@@ -2674,7 +2674,7 @@ declare namespace React {
2674
2674
  content?: string | undefined;
2675
2675
  controls?: boolean | undefined;
2676
2676
  coords?: string | undefined;
2677
- crossOrigin?: string | undefined;
2677
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2678
2678
  data?: string | undefined;
2679
2679
  dateTime?: string | undefined;
2680
2680
  default?: boolean | undefined;
@@ -2898,7 +2898,7 @@ declare namespace React {
2898
2898
  autoFocus?: boolean | undefined;
2899
2899
  capture?: boolean | string | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2900
2900
  checked?: boolean | undefined;
2901
- crossOrigin?: string | undefined;
2901
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2902
2902
  disabled?: boolean | undefined;
2903
2903
  form?: string | undefined;
2904
2904
  formAction?: string | undefined;
@@ -2949,7 +2949,7 @@ declare namespace React {
2949
2949
 
2950
2950
  interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
2951
2951
  as?: string | undefined;
2952
- crossOrigin?: string | undefined;
2952
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2953
2953
  href?: string | undefined;
2954
2954
  hrefLang?: string | undefined;
2955
2955
  integrity?: string | undefined;
@@ -2971,7 +2971,7 @@ declare namespace React {
2971
2971
  interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
2972
2972
  autoPlay?: boolean | undefined;
2973
2973
  controls?: boolean | undefined;
2974
- crossOrigin?: string | undefined;
2974
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2975
2975
  loop?: boolean | undefined;
2976
2976
  mediaGroup?: string | undefined;
2977
2977
  muted?: boolean | undefined;
@@ -3050,7 +3050,7 @@ declare namespace React {
3050
3050
  interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
3051
3051
  async?: boolean | undefined;
3052
3052
  charSet?: string | undefined;
3053
- crossOrigin?: string | undefined;
3053
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
3054
3054
  defer?: boolean | undefined;
3055
3055
  integrity?: string | undefined;
3056
3056
  nonce?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "15.7.11",
3
+ "version": "15.7.12",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -62,8 +62,8 @@
62
62
  },
63
63
  "scripts": {},
64
64
  "dependencies": {},
65
- "typesPublisherContentHash": "abfdda0f085e7916fc6e6dd1b10f0469af80b2a3635d9cf2fe1cb56da239b9c0",
66
- "typeScriptVersion": "4.1",
65
+ "typesPublisherContentHash": "829a15ab178e1ef69a51c6369ab72820ccb4d10a2f8a82721b05f655e721b300",
66
+ "typeScriptVersion": "4.2",
67
67
  "exports": {
68
68
  ".": {
69
69
  "types": {