@types/react 16.8.6 → 16.8.10
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 +2 -2
- react/global.d.ts +1 -0
- react/index.d.ts +6 -3
- react/package.json +10 -5
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:
|
11
|
+
* Last updated: Wed, 27 Mar 2019 16:10:17 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>,
|
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>.
|
react/global.d.ts
CHANGED
@@ -97,6 +97,7 @@ interface SVGFEConvolveMatrixElement extends SVGElement { }
|
|
97
97
|
interface SVGFEDiffuseLightingElement extends SVGElement { }
|
98
98
|
interface SVGFEDisplacementMapElement extends SVGElement { }
|
99
99
|
interface SVGFEDistantLightElement extends SVGElement { }
|
100
|
+
interface SVGFEDropShadowElement extends SVGElement { }
|
100
101
|
interface SVGFEFloodElement extends SVGElement { }
|
101
102
|
interface SVGFEFuncAElement extends SVGElement { }
|
102
103
|
interface SVGFEFuncBElement extends SVGElement { }
|
react/index.d.ts
CHANGED
@@ -20,7 +20,8 @@
|
|
20
20
|
// Frank Li <https://github.com/franklixuefei>
|
21
21
|
// Jessica Franco <https://github.com/Jessidhia>
|
22
22
|
// Paul Sherman <https://github.com/pshrmn>
|
23
|
-
//
|
23
|
+
// Saransh Kataria <https://github.com/saranshkataria>
|
24
|
+
// Kanitkorn Sujautra <https://github.com/lukyth>
|
24
25
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
25
26
|
// TypeScript Version: 2.8
|
26
27
|
|
@@ -426,7 +427,7 @@ declare namespace React {
|
|
426
427
|
// always pass children as variadic arguments to `createElement`.
|
427
428
|
// In the future, if we can define its call signature conditionally
|
428
429
|
// on the existence of `children` in `P`, then we should remove this.
|
429
|
-
readonly props: Readonly<
|
430
|
+
readonly props: Readonly<P> & Readonly<{ children?: ReactNode }>;
|
430
431
|
state: Readonly<S>;
|
431
432
|
/**
|
432
433
|
* @deprecated
|
@@ -1777,6 +1778,7 @@ declare namespace React {
|
|
1777
1778
|
rel?: string;
|
1778
1779
|
target?: string;
|
1779
1780
|
type?: string;
|
1781
|
+
referrerPolicy?: string;
|
1780
1782
|
}
|
1781
1783
|
|
1782
1784
|
// tslint:disable-next-line:no-empty-interface
|
@@ -1813,7 +1815,7 @@ declare namespace React {
|
|
1813
1815
|
formNoValidate?: boolean;
|
1814
1816
|
formTarget?: string;
|
1815
1817
|
name?: string;
|
1816
|
-
type?:
|
1818
|
+
type?: 'submit' | 'reset' | 'button';
|
1817
1819
|
value?: string | string[] | number;
|
1818
1820
|
}
|
1819
1821
|
|
@@ -2920,6 +2922,7 @@ declare global {
|
|
2920
2922
|
feDiffuseLighting: React.SVGProps<SVGFEDiffuseLightingElement>;
|
2921
2923
|
feDisplacementMap: React.SVGProps<SVGFEDisplacementMapElement>;
|
2922
2924
|
feDistantLight: React.SVGProps<SVGFEDistantLightElement>;
|
2925
|
+
feDropShadow: React.SVGProps<SVGFEDropShadowElement>;
|
2923
2926
|
feFlood: React.SVGProps<SVGFEFloodElement>;
|
2924
2927
|
feFuncA: React.SVGProps<SVGFEFuncAElement>;
|
2925
2928
|
feFuncB: React.SVGProps<SVGFEFuncBElement>;
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.8.
|
3
|
+
"version": "16.8.10",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -102,9 +102,14 @@
|
|
102
102
|
"githubUsername": "pshrmn"
|
103
103
|
},
|
104
104
|
{
|
105
|
-
"name": "
|
106
|
-
"url": "https://github.com/
|
107
|
-
"githubUsername": "
|
105
|
+
"name": "Saransh Kataria",
|
106
|
+
"url": "https://github.com/saranshkataria",
|
107
|
+
"githubUsername": "saranshkataria"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"name": "Kanitkorn Sujautra",
|
111
|
+
"url": "https://github.com/lukyth",
|
112
|
+
"githubUsername": "lukyth"
|
108
113
|
}
|
109
114
|
],
|
110
115
|
"main": "",
|
@@ -119,6 +124,6 @@
|
|
119
124
|
"@types/prop-types": "*",
|
120
125
|
"csstype": "^2.2.0"
|
121
126
|
},
|
122
|
-
"typesPublisherContentHash": "
|
127
|
+
"typesPublisherContentHash": "f05e832edb055a82292d920f245db861b825499be02803b2c8663106c0cc9601",
|
123
128
|
"typeScriptVersion": "2.8"
|
124
129
|
}
|