@types/react 15.7.5 → 15.7.8

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: Tue, 12 Oct 2021 17:01:24 GMT
11
+ * Last updated: Wed, 27 Jul 2022 20:32:23 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `React`
14
14
 
react v15.7/index.d.ts CHANGED
@@ -640,7 +640,9 @@ declare namespace React {
640
640
  // Keyboard Events
641
641
  onKeyDown?: KeyboardEventHandler<T> | undefined;
642
642
  onKeyDownCapture?: KeyboardEventHandler<T> | undefined;
643
+ /** @deprecated */
643
644
  onKeyPress?: KeyboardEventHandler<T> | undefined;
645
+ /** @deprecated */
644
646
  onKeyPressCapture?: KeyboardEventHandler<T> | undefined;
645
647
  onKeyUp?: KeyboardEventHandler<T> | undefined;
646
648
  onKeyUpCapture?: KeyboardEventHandler<T> | undefined;
@@ -2948,6 +2950,7 @@ declare namespace React {
2948
2950
  href?: string | undefined;
2949
2951
  hrefLang?: string | undefined;
2950
2952
  integrity?: string | undefined;
2953
+ imageSrcSet?: string | undefined;
2951
2954
  media?: string | undefined;
2952
2955
  rel?: string | undefined;
2953
2956
  sizes?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "15.7.5",
3
+ "version": "15.7.8",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -62,6 +62,24 @@
62
62
  },
63
63
  "scripts": {},
64
64
  "dependencies": {},
65
- "typesPublisherContentHash": "ed71aa38bde877fcaff99bd8ee1169106e75bab73d9f0db416bd318bada23bf6",
66
- "typeScriptVersion": "3.7"
65
+ "typesPublisherContentHash": "d60ddc7f2b300560250c8d8a79337d50ed3bd617afdd54a343e484ca4557a1d5",
66
+ "typeScriptVersion": "4.0",
67
+ "exports": {
68
+ ".": {
69
+ "types": {
70
+ "default": "./index.d.ts"
71
+ }
72
+ },
73
+ "./jsx-runtime": {
74
+ "types": {
75
+ "default": "./jsx-runtime.d.ts"
76
+ }
77
+ },
78
+ "./jsx-dev-runtime": {
79
+ "types": {
80
+ "default": "./jsx-dev-runtime.d.ts"
81
+ }
82
+ },
83
+ "./package.json": "./package.json"
84
+ }
67
85
  }