@types/react 16.14.28 → 16.14.31
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 v16.14/README.md +1 -1
- react v16.14/index.d.ts +2 -1
- react v16.14/package.json +21 -3
react v16.14/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/v16.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Tue, 30 Aug 2022 16:02:46 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 v16.14/index.d.ts
CHANGED
@@ -99,7 +99,7 @@ declare namespace React {
|
|
99
99
|
* - React stateless functional components that forward a `ref` will give you the `ElementRef` of the forwarded
|
100
100
|
* to component.
|
101
101
|
*
|
102
|
-
* `C` must be the type _of_ a React component so you need to use typeof as in React.ElementRef<typeof MyComponent
|
102
|
+
* `C` must be the type _of_ a React component so you need to use typeof as in `React.ElementRef<typeof MyComponent>`.
|
103
103
|
*
|
104
104
|
* @todo In Flow, this works a little different with forwarded refs and the `AbstractComponent` that
|
105
105
|
* `React.forwardRef()` returns.
|
@@ -2111,6 +2111,7 @@ declare namespace React {
|
|
2111
2111
|
name?: string | undefined;
|
2112
2112
|
noValidate?: boolean | undefined;
|
2113
2113
|
target?: string | undefined;
|
2114
|
+
rel?: string | undefined;
|
2114
2115
|
}
|
2115
2116
|
|
2116
2117
|
interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
react v16.14/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.14.
|
3
|
+
"version": "16.14.31",
|
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,24 @@
|
|
146
146
|
"@types/scheduler": "*",
|
147
147
|
"csstype": "^3.0.2"
|
148
148
|
},
|
149
|
-
"typesPublisherContentHash": "
|
150
|
-
"typeScriptVersion": "4.0"
|
149
|
+
"typesPublisherContentHash": "3fed812457ef4c4711b320760113ce23d60c0432ec6da3314c44904888768703",
|
150
|
+
"typeScriptVersion": "4.0",
|
151
|
+
"exports": {
|
152
|
+
".": {
|
153
|
+
"types": {
|
154
|
+
"default": "./index.d.ts"
|
155
|
+
}
|
156
|
+
},
|
157
|
+
"./jsx-runtime": {
|
158
|
+
"types": {
|
159
|
+
"default": "./jsx-runtime.d.ts"
|
160
|
+
}
|
161
|
+
},
|
162
|
+
"./jsx-dev-runtime": {
|
163
|
+
"types": {
|
164
|
+
"default": "./jsx-dev-runtime.d.ts"
|
165
|
+
}
|
166
|
+
},
|
167
|
+
"./package.json": "./package.json"
|
168
|
+
}
|
151
169
|
}
|