@types/react 16.8.16 → 16.8.20

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/README.md CHANGED
@@ -8,9 +8,9 @@ This package contains type definitions for React ( http://facebook.github.io/rea
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react
9
9
 
10
10
  Additional Details
11
- * Last updated: Sat, 04 May 2019 00:40:50 GMT
11
+ * Last updated: Thu, 13 Jun 2019 19:24:37 GMT
12
12
  * Dependencies: @types/csstype, @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>, Tanguy Krotoff <https://github.com/tkrotoff>, Dovydas Navickas <https://github.com/DovydasNavickas>, Stéphane Goetz <https://github.com/onigoetz>, 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>.
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>, Stéphane Goetz <https://github.com/onigoetz>, 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>.
react/global.d.ts CHANGED
@@ -75,6 +75,7 @@ interface HTMLTableDataCellElement extends HTMLElement { }
75
75
  interface HTMLTableHeaderCellElement extends HTMLElement { }
76
76
  interface HTMLTableRowElement extends HTMLElement { }
77
77
  interface HTMLTableSectionElement extends HTMLElement { }
78
+ interface HTMLTemplateElement extends HTMLElement { }
78
79
  interface HTMLTextAreaElement extends HTMLElement { }
79
80
  interface HTMLTitleElement extends HTMLElement { }
80
81
  interface HTMLTrackElement extends HTMLElement { }
react/index.d.ts CHANGED
@@ -8,7 +8,6 @@
8
8
  // Patricio Zavolinsky <https://github.com/pzavolinsky>
9
9
  // Digiguru <https://github.com/digiguru>
10
10
  // Eric Anderson <https://github.com/ericanderson>
11
- // Tanguy Krotoff <https://github.com/tkrotoff>
12
11
  // Dovydas Navickas <https://github.com/DovydasNavickas>
13
12
  // Stéphane Goetz <https://github.com/onigoetz>
14
13
  // Josh Rutherford <https://github.com/theruther4d>
@@ -777,9 +776,9 @@ declare namespace React {
777
776
 
778
777
  // will show `Memo(${Component.displayName || Component.name})` in devtools by default,
779
778
  // but can be given its own specific name
780
- interface MemoExoticComponent<T extends ComponentType<any>> extends NamedExoticComponent<ComponentPropsWithRef<T>> {
779
+ type MemoExoticComponent<T extends ComponentType<any>> = NamedExoticComponent<ComponentPropsWithRef<T>> & {
781
780
  readonly type: T;
782
- }
781
+ };
783
782
 
784
783
  function memo<P extends object>(
785
784
  Component: SFC<P>,
@@ -790,9 +789,9 @@ declare namespace React {
790
789
  propsAreEqual?: (prevProps: Readonly<ComponentProps<T>>, nextProps: Readonly<ComponentProps<T>>) => boolean
791
790
  ): MemoExoticComponent<T>;
792
791
 
793
- interface LazyExoticComponent<T extends ComponentType<any>> extends ExoticComponent<ComponentPropsWithRef<T>> {
792
+ type LazyExoticComponent<T extends ComponentType<any>> = ExoticComponent<ComponentPropsWithRef<T>> & {
794
793
  readonly _result: T;
795
- }
794
+ };
796
795
 
797
796
  function lazy<T extends ComponentType<any>>(
798
797
  factory: () => Promise<{ default: T }>
@@ -1914,6 +1913,7 @@ declare namespace React {
1914
1913
  marginHeight?: number;
1915
1914
  marginWidth?: number;
1916
1915
  name?: string;
1916
+ referrerPolicy?: string;
1917
1917
  sandbox?: string;
1918
1918
  scrolling?: string;
1919
1919
  seamless?: boolean;
@@ -2593,6 +2593,7 @@ declare namespace React {
2593
2593
  summary: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2594
2594
  sup: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2595
2595
  table: DetailedHTMLFactory<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
2596
+ template: DetailedHTMLFactory<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>;
2596
2597
  tbody: DetailedHTMLFactory<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
2597
2598
  td: DetailedHTMLFactory<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>;
2598
2599
  textarea: DetailedHTMLFactory<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
@@ -2925,6 +2926,7 @@ declare global {
2925
2926
  summary: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2926
2927
  sup: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2927
2928
  table: React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
2929
+ template: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>;
2928
2930
  tbody: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
2929
2931
  td: React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>;
2930
2932
  textarea: React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.8.16",
3
+ "version": "16.8.20",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -41,11 +41,6 @@
41
41
  "url": "https://github.com/ericanderson",
42
42
  "githubUsername": "ericanderson"
43
43
  },
44
- {
45
- "name": "Tanguy Krotoff",
46
- "url": "https://github.com/tkrotoff",
47
- "githubUsername": "tkrotoff"
48
- },
49
44
  {
50
45
  "name": "Dovydas Navickas",
51
46
  "url": "https://github.com/DovydasNavickas",
@@ -124,6 +119,6 @@
124
119
  "@types/prop-types": "*",
125
120
  "csstype": "^2.2.0"
126
121
  },
127
- "typesPublisherContentHash": "e8be3ca761e5702641fe949a40ae2350ad89e7f080fe25d1e3b109bf1a99799c",
122
+ "typesPublisherContentHash": "12b97578e704c3f9ed778d418f5f6e1fc8abce153e6e4986206e7b06ec6689b4",
128
123
  "typeScriptVersion": "2.8"
129
124
  }