@types/react 16.9.40 → 16.9.44

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.
Files changed (3) hide show
  1. react/README.md +1 -1
  2. react/index.d.ts +4 -1
  3. 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: Wed, 24 Jun 2020 08:56:26 GMT
11
+ * Last updated: Fri, 31 Jul 2020 20:41:28 GMT
12
12
  * Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types)
13
13
  * Global values: `React`
14
14
 
react/index.d.ts CHANGED
@@ -1152,7 +1152,7 @@ declare namespace React {
1152
1152
  *
1153
1153
  * target - a reference to the element from which the event was originally dispatched.
1154
1154
  * This might be a child element to the element on which the event listener is registered.
1155
- * If you thought this should be `EventTarget & T`, see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12239
1155
+ * If you thought this should be `EventTarget & T`, see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/11508#issuecomment-256045682
1156
1156
  */
1157
1157
  interface SyntheticEvent<T = Element, E = Event> extends BaseSyntheticEvent<E, EventTarget & T, EventTarget> {}
1158
1158
 
@@ -1216,6 +1216,7 @@ declare namespace React {
1216
1216
  metaKey: boolean;
1217
1217
  repeat: boolean;
1218
1218
  shiftKey: boolean;
1219
+ /** @deprecated */
1219
1220
  which: number;
1220
1221
  }
1221
1222
 
@@ -1978,6 +1979,7 @@ declare namespace React {
1978
1979
 
1979
1980
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
1980
1981
  open?: boolean;
1982
+ onToggle?: ReactEventHandler<T>;
1981
1983
  }
1982
1984
 
1983
1985
  interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -2023,6 +2025,7 @@ declare namespace React {
2023
2025
  allowTransparency?: boolean;
2024
2026
  frameBorder?: number | string;
2025
2027
  height?: number | string;
2028
+ loading?: "eager" | "lazy";
2026
2029
  marginHeight?: number;
2027
2030
  marginWidth?: number;
2028
2031
  name?: string;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.9.40",
3
+ "version": "16.9.44",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -142,8 +142,8 @@
142
142
  "scripts": {},
143
143
  "dependencies": {
144
144
  "@types/prop-types": "*",
145
- "csstype": "^2.2.0"
145
+ "csstype": "^3.0.2"
146
146
  },
147
- "typesPublisherContentHash": "465c9d3c81223e78e836e58f0a7fa5618b32bb06e10f1cf28dca90ca1aa50b28",
147
+ "typesPublisherContentHash": "c5112191bdd5ff8eccf9f8f06b2035ed27632d16e5c9bafee0a4a8557aa24c96",
148
148
  "typeScriptVersion": "3.0"
149
149
  }