@types/react 16.9.30 → 16.9.34

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 (4) hide show
  1. react/README.md +2 -2
  2. react/global.d.ts +1 -0
  3. react/index.d.ts +6 -1
  4. react/package.json +12 -2
react/README.md CHANGED
@@ -8,9 +8,9 @@ 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: Tue, 31 Mar 2020 17:13:50 GMT
11
+ * Last updated: Thu, 09 Apr 2020 20:16:23 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
 
15
15
  # Credits
16
- These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com), [John Reilly](https://github.com/johnnyreilly), [Benoit Benezech](https://github.com/bbenezech), [Patricio Zavolinsky](https://github.com/pzavolinsky), [Digiguru](https://github.com/digiguru), [Eric Anderson](https://github.com/ericanderson), [Dovydas Navickas](https://github.com/DovydasNavickas), [Josh Rutherford](https://github.com/theruther4d), [Guilherme Hübner](https://github.com/guilhermehubner), [Ferdy Budhidharma](https://github.com/ferdaber), [Johann Rakotoharisoa](https://github.com/jrakotoharisoa), [Olivier Pascal](https://github.com/pascaloliv), [Martin Hochel](https://github.com/hotell), [Frank Li](https://github.com/franklixuefei), [Jessica Franco](https://github.com/Jessidhia), [Saransh Kataria](https://github.com/saranshkataria), [Kanitkorn Sujautra](https://github.com/lukyth), [Sebastian Silbermann](https://github.com/eps1lon), [Kyle Scully](https://github.com/zieka), [Cong Zhang](https://github.com/dancerphil), and [Dimitri Mitropoulos](https://github.com/dimitropoulos).
16
+ These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com), [John Reilly](https://github.com/johnnyreilly), [Benoit Benezech](https://github.com/bbenezech), [Patricio Zavolinsky](https://github.com/pzavolinsky), [Digiguru](https://github.com/digiguru), [Eric Anderson](https://github.com/ericanderson), [Dovydas Navickas](https://github.com/DovydasNavickas), [Josh Rutherford](https://github.com/theruther4d), [Guilherme Hübner](https://github.com/guilhermehubner), [Ferdy Budhidharma](https://github.com/ferdaber), [Johann Rakotoharisoa](https://github.com/jrakotoharisoa), [Olivier Pascal](https://github.com/pascaloliv), [Martin Hochel](https://github.com/hotell), [Frank Li](https://github.com/franklixuefei), [Jessica Franco](https://github.com/Jessidhia), [Saransh Kataria](https://github.com/saranshkataria), [Kanitkorn Sujautra](https://github.com/lukyth), [Sebastian Silbermann](https://github.com/eps1lon), [Kyle Scully](https://github.com/zieka), [Cong Zhang](https://github.com/dancerphil), [Dimitri Mitropoulos](https://github.com/dimitropoulos), [JongChan Choi](https://github.com/disjukr), and [Victor Magalhães](https://github.com/vhfmag).
react/global.d.ts CHANGED
@@ -27,6 +27,7 @@ interface DataTransfer { }
27
27
  interface StyleMedia { }
28
28
 
29
29
  interface Element { }
30
+ interface DocumentFragment { }
30
31
 
31
32
  interface HTMLElement extends Element { }
32
33
  interface HTMLAnchorElement extends HTMLElement { }
react/index.d.ts CHANGED
@@ -23,6 +23,8 @@
23
23
  // Kyle Scully <https://github.com/zieka>
24
24
  // Cong Zhang <https://github.com/dancerphil>
25
25
  // Dimitri Mitropoulos <https://github.com/dimitropoulos>
26
+ // JongChan Choi <https://github.com/disjukr>
27
+ // Victor Magalhães <https://github.com/vhfmag>
26
28
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
27
29
  // TypeScript Version: 2.8
28
30
 
@@ -1179,8 +1181,10 @@ declare namespace React {
1179
1181
  interface PointerEvent<T = Element> extends MouseEvent<T, NativePointerEvent> {
1180
1182
  pointerId: number;
1181
1183
  pressure: number;
1184
+ tangentialPressure: number;
1182
1185
  tiltX: number;
1183
1186
  tiltY: number;
1187
+ twist: number;
1184
1188
  width: number;
1185
1189
  height: number;
1186
1190
  pointerType: 'mouse' | 'pen' | 'touch';
@@ -2126,6 +2130,7 @@ declare namespace React {
2126
2130
  rel?: string;
2127
2131
  sizes?: string;
2128
2132
  type?: string;
2133
+ charSet?: string;
2129
2134
  }
2130
2135
 
2131
2136
  interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -2144,7 +2149,7 @@ declare namespace React {
2144
2149
  loop?: boolean;
2145
2150
  mediaGroup?: string;
2146
2151
  muted?: boolean;
2147
- playsinline?: boolean;
2152
+ playsInline?: boolean;
2148
2153
  preload?: string;
2149
2154
  src?: string;
2150
2155
  }
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.9.30",
3
+ "version": "16.9.34",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -115,6 +115,16 @@
115
115
  "name": "Dimitri Mitropoulos",
116
116
  "url": "https://github.com/dimitropoulos",
117
117
  "githubUsername": "dimitropoulos"
118
+ },
119
+ {
120
+ "name": "JongChan Choi",
121
+ "url": "https://github.com/disjukr",
122
+ "githubUsername": "disjukr"
123
+ },
124
+ {
125
+ "name": "Victor Magalhães",
126
+ "url": "https://github.com/vhfmag",
127
+ "githubUsername": "vhfmag"
118
128
  }
119
129
  ],
120
130
  "main": "",
@@ -129,6 +139,6 @@
129
139
  "@types/prop-types": "*",
130
140
  "csstype": "^2.2.0"
131
141
  },
132
- "typesPublisherContentHash": "3f14cb96227f9fa0cbb14ab9fce57d5a2400d1a53b88fc64d49b81cb37c12ef6",
142
+ "typesPublisherContentHash": "654e5d9e60861e319651ceb31b89ec3d5fceb31132e9d18ea5c857026eb4cf2b",
133
143
  "typeScriptVersion": "2.8"
134
144
  }