@types/react 16.8.15 → 16.8.19

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: Mon, 29 Apr 2019 18:35:52 GMT
11
+ * Last updated: Tue, 28 May 2019 19:24:48 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>, Paul Sherman <https://github.com/pshrmn>, 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>, 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>.
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
@@ -19,7 +19,6 @@
19
19
  // Martin Hochel <https://github.com/hotell>
20
20
  // Frank Li <https://github.com/franklixuefei>
21
21
  // Jessica Franco <https://github.com/Jessidhia>
22
- // Paul Sherman <https://github.com/pshrmn>
23
22
  // Saransh Kataria <https://github.com/saranshkataria>
24
23
  // Kanitkorn Sujautra <https://github.com/lukyth>
25
24
  // Sebastian Silbermann <https://github.com/eps1lon>
@@ -778,9 +777,9 @@ declare namespace React {
778
777
 
779
778
  // will show `Memo(${Component.displayName || Component.name})` in devtools by default,
780
779
  // but can be given its own specific name
781
- interface MemoExoticComponent<T extends ComponentType<any>> extends NamedExoticComponent<ComponentPropsWithRef<T>> {
780
+ type MemoExoticComponent<T extends ComponentType<any>> = NamedExoticComponent<ComponentPropsWithRef<T>> & {
782
781
  readonly type: T;
783
- }
782
+ };
784
783
 
785
784
  function memo<P extends object>(
786
785
  Component: SFC<P>,
@@ -791,9 +790,9 @@ declare namespace React {
791
790
  propsAreEqual?: (prevProps: Readonly<ComponentProps<T>>, nextProps: Readonly<ComponentProps<T>>) => boolean
792
791
  ): MemoExoticComponent<T>;
793
792
 
794
- interface LazyExoticComponent<T extends ComponentType<any>> extends ExoticComponent<ComponentPropsWithRef<T>> {
793
+ type LazyExoticComponent<T extends ComponentType<any>> = ExoticComponent<ComponentPropsWithRef<T>> & {
795
794
  readonly _result: T;
796
- }
795
+ };
797
796
 
798
797
  function lazy<T extends ComponentType<any>>(
799
798
  factory: () => Promise<{ default: T }>
@@ -1915,6 +1914,7 @@ declare namespace React {
1915
1914
  marginHeight?: number;
1916
1915
  marginWidth?: number;
1917
1916
  name?: string;
1917
+ referrerPolicy?: string;
1918
1918
  sandbox?: string;
1919
1919
  scrolling?: string;
1920
1920
  seamless?: boolean;
@@ -2594,6 +2594,7 @@ declare namespace React {
2594
2594
  summary: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2595
2595
  sup: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2596
2596
  table: DetailedHTMLFactory<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
2597
+ template: DetailedHTMLFactory<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>;
2597
2598
  tbody: DetailedHTMLFactory<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
2598
2599
  td: DetailedHTMLFactory<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>;
2599
2600
  textarea: DetailedHTMLFactory<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
@@ -2926,6 +2927,7 @@ declare global {
2926
2927
  summary: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2927
2928
  sup: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2928
2929
  table: React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
2930
+ template: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>;
2929
2931
  tbody: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
2930
2932
  td: React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>;
2931
2933
  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.15",
3
+ "version": "16.8.19",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -96,11 +96,6 @@
96
96
  "url": "https://github.com/Jessidhia",
97
97
  "githubUsername": "Jessidhia"
98
98
  },
99
- {
100
- "name": "Paul Sherman",
101
- "url": "https://github.com/pshrmn",
102
- "githubUsername": "pshrmn"
103
- },
104
99
  {
105
100
  "name": "Saransh Kataria",
106
101
  "url": "https://github.com/saranshkataria",
@@ -129,6 +124,6 @@
129
124
  "@types/prop-types": "*",
130
125
  "csstype": "^2.2.0"
131
126
  },
132
- "typesPublisherContentHash": "951b963cfe475518b491ff41c179ce23bfdaeb46a0216f9d537c24c353db678c",
127
+ "typesPublisherContentHash": "dc10bea525ad5d627edc0e123fb68bc0863eee835ed1e021d68883b5c08e47cd",
133
128
  "typeScriptVersion": "2.8"
134
129
  }