@types/react 17.0.16 → 17.0.17
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 +1 -1
- react/index.d.ts +2 -0
- 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:
|
11
|
+
* Last updated: Wed, 11 Aug 2021 02:31:26 GMT
|
12
12
|
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
|
13
13
|
* Global values: `React`
|
14
14
|
|
react/index.d.ts
CHANGED
@@ -2351,11 +2351,13 @@ declare namespace React {
|
|
2351
2351
|
}
|
2352
2352
|
|
2353
2353
|
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
2354
|
+
height?: number | string | undefined;
|
2354
2355
|
media?: string | undefined;
|
2355
2356
|
sizes?: string | undefined;
|
2356
2357
|
src?: string | undefined;
|
2357
2358
|
srcSet?: string | undefined;
|
2358
2359
|
type?: string | undefined;
|
2360
|
+
width?: number | string | undefined;
|
2359
2361
|
}
|
2360
2362
|
|
2361
2363
|
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.17",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -146,6 +146,6 @@
|
|
146
146
|
"@types/scheduler": "*",
|
147
147
|
"csstype": "^3.0.2"
|
148
148
|
},
|
149
|
-
"typesPublisherContentHash": "
|
149
|
+
"typesPublisherContentHash": "287e66205ff8670bcdf14521b4a38ebc3d8e1509541124f707aa254ded4ee0d6",
|
150
150
|
"typeScriptVersion": "3.6"
|
151
151
|
}
|