@types/react 16.8.24 → 16.9.2
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/index.d.ts +5 -11
- react/package.json +2 -7
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:
|
11
|
+
* Last updated: Thu, 15 Aug 2019 22:54:53 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>, Dovydas Navickas <https://github.com/DovydasNavickas>,
|
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>, and Sebastian Silbermann <https://github.com/eps1lon>.
|
react/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Type definitions for React 16.
|
1
|
+
// Type definitions for React 16.9
|
2
2
|
// Project: http://facebook.github.io/react/
|
3
3
|
// Definitions by: Asana <https://asana.com>
|
4
4
|
// AssureSign <http://www.assuresign.com>
|
@@ -9,7 +9,6 @@
|
|
9
9
|
// Digiguru <https://github.com/digiguru>
|
10
10
|
// Eric Anderson <https://github.com/ericanderson>
|
11
11
|
// Dovydas Navickas <https://github.com/DovydasNavickas>
|
12
|
-
// Stéphane Goetz <https://github.com/onigoetz>
|
13
12
|
// Josh Rutherford <https://github.com/theruther4d>
|
14
13
|
// Guilherme Hübner <https://github.com/guilhermehubner>
|
15
14
|
// Ferdy Budhidharma <https://github.com/ferdaber>
|
@@ -349,13 +348,6 @@ declare namespace React {
|
|
349
348
|
|
350
349
|
/** A fallback react tree to show when a Suspense child (like React.lazy) suspends */
|
351
350
|
fallback: NonNullable<ReactNode>|null;
|
352
|
-
|
353
|
-
// I tried looking at the code but I have no idea what it does.
|
354
|
-
// https://github.com/facebook/react/issues/13206#issuecomment-432489986
|
355
|
-
/**
|
356
|
-
* Not implemented yet, requires unstable_ConcurrentMode
|
357
|
-
*/
|
358
|
-
// maxDuration?: number;
|
359
351
|
}
|
360
352
|
/**
|
361
353
|
* This feature is not yet available for server-side rendering.
|
@@ -382,7 +374,7 @@ declare namespace React {
|
|
382
374
|
onRender: ProfilerOnRenderCallback;
|
383
375
|
}
|
384
376
|
|
385
|
-
const
|
377
|
+
const Profiler: ExoticComponent<ProfilerProps>;
|
386
378
|
|
387
379
|
//
|
388
380
|
// Component API
|
@@ -447,7 +439,7 @@ declare namespace React {
|
|
447
439
|
callback?: () => void
|
448
440
|
): void;
|
449
441
|
|
450
|
-
forceUpdate(
|
442
|
+
forceUpdate(callback?: () => void): void;
|
451
443
|
render(): ReactNode;
|
452
444
|
|
453
445
|
// React.Props<T> is now deprecated, which means that the `children`
|
@@ -2172,6 +2164,7 @@ declare namespace React {
|
|
2172
2164
|
headers?: string;
|
2173
2165
|
rowSpan?: number;
|
2174
2166
|
scope?: string;
|
2167
|
+
valign?: "top" | "middle" | "bottom" | "baseline";
|
2175
2168
|
}
|
2176
2169
|
|
2177
2170
|
interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
@@ -2199,6 +2192,7 @@ declare namespace React {
|
|
2199
2192
|
playsInline?: boolean;
|
2200
2193
|
poster?: string;
|
2201
2194
|
width?: number | string;
|
2195
|
+
disablePictureInPicture?: boolean;
|
2202
2196
|
}
|
2203
2197
|
|
2204
2198
|
// this list is "complete" in that it contains every SVG attribute
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.
|
3
|
+
"version": "16.9.2",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -46,11 +46,6 @@
|
|
46
46
|
"url": "https://github.com/DovydasNavickas",
|
47
47
|
"githubUsername": "DovydasNavickas"
|
48
48
|
},
|
49
|
-
{
|
50
|
-
"name": "Stéphane Goetz",
|
51
|
-
"url": "https://github.com/onigoetz",
|
52
|
-
"githubUsername": "onigoetz"
|
53
|
-
},
|
54
49
|
{
|
55
50
|
"name": "Josh Rutherford",
|
56
51
|
"url": "https://github.com/theruther4d",
|
@@ -119,6 +114,6 @@
|
|
119
114
|
"@types/prop-types": "*",
|
120
115
|
"csstype": "^2.2.0"
|
121
116
|
},
|
122
|
-
"typesPublisherContentHash": "
|
117
|
+
"typesPublisherContentHash": "83c2206d0fc3985c58e54bde8c44d67dff202769ed06c056da97c7cbd34d8c4c",
|
123
118
|
"typeScriptVersion": "2.8"
|
124
119
|
}
|