@types/react 16.9.54 → 16.9.55

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 +0 -8
  3. react/package.json +2 -2
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: Tue, 27 Oct 2020 19:31:41 GMT
11
+ * Last updated: Wed, 28 Oct 2020 18:56:19 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
@@ -176,7 +176,6 @@ declare namespace React {
176
176
  }
177
177
 
178
178
  // ReactHTML for ReactHTMLElement
179
- // tslint:disable-next-line:no-empty-interface
180
179
  interface ReactHTMLElement<T extends HTMLElement> extends DetailedReactHTMLElement<AllHTMLAttributes<T>, T> { }
181
180
 
182
181
  interface DetailedReactHTMLElement<P extends HTMLAttributes<T>, T extends HTMLElement> extends DOMElement<P, T> {
@@ -215,7 +214,6 @@ declare namespace React {
215
214
  type DOMFactory<P extends DOMAttributes<T>, T extends Element> =
216
215
  (props?: ClassAttributes<T> & P | null, ...children: ReactNode[]) => DOMElement<P, T>;
217
216
 
218
- // tslint:disable-next-line:no-empty-interface
219
217
  interface HTMLFactory<T extends HTMLElement> extends DetailedHTMLFactory<AllHTMLAttributes<T>, T> {}
220
218
 
221
219
  interface DetailedHTMLFactory<P extends HTMLAttributes<T>, T extends HTMLElement> extends DOMFactory<P, T> {
@@ -431,7 +429,6 @@ declare namespace React {
431
429
  type ReactInstance = Component<any> | Element;
432
430
 
433
431
  // Base component for plain JS classes
434
- // tslint:disable-next-line:no-empty-interface
435
432
  interface Component<P = {}, S = {}, SS = any> extends ComponentLifecycle<P, S, SS> { }
436
433
  class Component<P, S> {
437
434
  // tslint won't let me format the sample code in a way that vscode likes it :(
@@ -1196,7 +1193,6 @@ declare namespace React {
1196
1193
  target: EventTarget & T;
1197
1194
  }
1198
1195
 
1199
- // tslint:disable-next-line:no-empty-interface
1200
1196
  interface FormEvent<T = Element> extends SyntheticEvent<T> {
1201
1197
  }
1202
1198
 
@@ -1944,7 +1940,6 @@ declare namespace React {
1944
1940
  referrerPolicy?: HTMLAttributeReferrerPolicy;
1945
1941
  }
1946
1942
 
1947
- // tslint:disable-next-line:no-empty-interface
1948
1943
  interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
1949
1944
 
1950
1945
  interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -2969,7 +2964,6 @@ type ReactManagedAttributes<C, P> = C extends { propTypes: infer T; defaultProps
2969
2964
 
2970
2965
  declare global {
2971
2966
  namespace JSX {
2972
- // tslint:disable-next-line:no-empty-interface
2973
2967
  interface Element extends React.ReactElement<any, any> { }
2974
2968
  interface ElementClass extends React.Component<any> {
2975
2969
  render(): React.ReactNode;
@@ -2985,9 +2979,7 @@ declare global {
2985
2979
  : ReactManagedAttributes<T, P>
2986
2980
  : ReactManagedAttributes<C, P>;
2987
2981
 
2988
- // tslint:disable-next-line:no-empty-interface
2989
2982
  interface IntrinsicAttributes extends React.Attributes { }
2990
- // tslint:disable-next-line:no-empty-interface
2991
2983
  interface IntrinsicClassAttributes<T> extends React.ClassAttributes<T> { }
2992
2984
 
2993
2985
  interface IntrinsicElements {
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.9.54",
3
+ "version": "16.9.55",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -144,6 +144,6 @@
144
144
  "@types/prop-types": "*",
145
145
  "csstype": "^3.0.2"
146
146
  },
147
- "typesPublisherContentHash": "539f43006bbb332cbd1304887fab869e607905879da4a2b656a16e7325c91de8",
147
+ "typesPublisherContentHash": "aaafb411c8479f94d32139bfbd85aba32a4428942e2f24f96576263b7d78fcc3",
148
148
  "typeScriptVersion": "3.2"
149
149
  }