@types/react 19.2.14 → 19.2.16
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 -3
- react/jsx-dev-runtime.d.ts +1 -13
- react/jsx-runtime.d.ts +1 -13
- react/package.json +3 -3
- react/ts5.0/index.d.ts +2 -3
- react/ts5.0/jsx-dev-runtime.d.ts +1 -12
- react/ts5.0/jsx-runtime.d.ts +1 -12
react/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for react (https://react.dev/).
|
|
|
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: Mon, 01 Jun 2026 18:00:20 GMT
|
|
12
12
|
* Dependencies: [csstype](https://npmjs.com/package/csstype)
|
|
13
13
|
|
|
14
14
|
# Credits
|
react/index.d.ts
CHANGED
|
@@ -3166,7 +3166,7 @@ declare namespace React {
|
|
|
3166
3166
|
alt?: string | undefined;
|
|
3167
3167
|
crossOrigin?: CrossOrigin;
|
|
3168
3168
|
decoding?: "async" | "auto" | "sync" | undefined;
|
|
3169
|
-
fetchPriority?: "high" | "low" | "auto";
|
|
3169
|
+
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
3170
3170
|
height?: number | string | undefined;
|
|
3171
3171
|
loading?: "eager" | "lazy" | undefined;
|
|
3172
3172
|
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
@@ -3339,7 +3339,7 @@ declare namespace React {
|
|
|
3339
3339
|
as?: string | undefined;
|
|
3340
3340
|
blocking?: "render" | (string & {}) | undefined;
|
|
3341
3341
|
crossOrigin?: CrossOrigin;
|
|
3342
|
-
fetchPriority?: "high" | "low" | "auto";
|
|
3342
|
+
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
3343
3343
|
href?: string | undefined;
|
|
3344
3344
|
hrefLang?: string | undefined;
|
|
3345
3345
|
integrity?: string | undefined;
|
|
@@ -4129,7 +4129,6 @@ declare namespace React {
|
|
|
4129
4129
|
componentStack?: string | null;
|
|
4130
4130
|
}
|
|
4131
4131
|
|
|
4132
|
-
// Keep in sync with JSX namespace in ./jsx-runtime.d.ts and ./jsx-dev-runtime.d.ts
|
|
4133
4132
|
namespace JSX {
|
|
4134
4133
|
// We don't just alias React.ElementType because React.ElementType
|
|
4135
4134
|
// historically does more than we need it to.
|
react/jsx-dev-runtime.d.ts
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import * as React from "./";
|
|
2
|
-
export { Fragment } from "./";
|
|
3
|
-
|
|
4
|
-
export namespace JSX {
|
|
5
|
-
type ElementType = React.JSX.ElementType;
|
|
6
|
-
interface Element extends React.JSX.Element {}
|
|
7
|
-
interface ElementClass extends React.JSX.ElementClass {}
|
|
8
|
-
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
|
|
9
|
-
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
|
|
10
|
-
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
|
|
11
|
-
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {}
|
|
12
|
-
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
|
|
13
|
-
interface IntrinsicElements extends React.JSX.IntrinsicElements {}
|
|
14
|
-
}
|
|
2
|
+
export { Fragment, JSX } from "./";
|
|
15
3
|
|
|
16
4
|
export interface JSXSource {
|
|
17
5
|
/**
|
react/jsx-runtime.d.ts
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import * as React from "./";
|
|
2
|
-
export { Fragment } from "./";
|
|
3
|
-
|
|
4
|
-
export namespace JSX {
|
|
5
|
-
type ElementType = React.JSX.ElementType;
|
|
6
|
-
interface Element extends React.JSX.Element {}
|
|
7
|
-
interface ElementClass extends React.JSX.ElementClass {}
|
|
8
|
-
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
|
|
9
|
-
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
|
|
10
|
-
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
|
|
11
|
-
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {}
|
|
12
|
-
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
|
|
13
|
-
interface IntrinsicElements extends React.JSX.IntrinsicElements {}
|
|
14
|
-
}
|
|
2
|
+
export { Fragment, JSX } from "./";
|
|
15
3
|
|
|
16
4
|
/**
|
|
17
5
|
* Create a React element.
|
react/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/react",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.16",
|
|
4
4
|
"description": "TypeScript definitions for react",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
|
6
6
|
"license": "MIT",
|
|
@@ -205,6 +205,6 @@
|
|
|
205
205
|
"csstype": "^3.2.2"
|
|
206
206
|
},
|
|
207
207
|
"peerDependencies": {},
|
|
208
|
-
"typesPublisherContentHash": "
|
|
209
|
-
"typeScriptVersion": "5.
|
|
208
|
+
"typesPublisherContentHash": "580f6ad7d40adf3bc991a9524a6ae20bf91ce2b9d424d2e2fbf99831dc819896",
|
|
209
|
+
"typeScriptVersion": "5.3"
|
|
210
210
|
}
|
react/ts5.0/index.d.ts
CHANGED
|
@@ -3165,7 +3165,7 @@ declare namespace React {
|
|
|
3165
3165
|
alt?: string | undefined;
|
|
3166
3166
|
crossOrigin?: CrossOrigin;
|
|
3167
3167
|
decoding?: "async" | "auto" | "sync" | undefined;
|
|
3168
|
-
fetchPriority?: "high" | "low" | "auto";
|
|
3168
|
+
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
3169
3169
|
height?: number | string | undefined;
|
|
3170
3170
|
loading?: "eager" | "lazy" | undefined;
|
|
3171
3171
|
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
@@ -3338,7 +3338,7 @@ declare namespace React {
|
|
|
3338
3338
|
as?: string | undefined;
|
|
3339
3339
|
blocking?: "render" | (string & {}) | undefined;
|
|
3340
3340
|
crossOrigin?: CrossOrigin;
|
|
3341
|
-
fetchPriority?: "high" | "low" | "auto";
|
|
3341
|
+
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
3342
3342
|
href?: string | undefined;
|
|
3343
3343
|
hrefLang?: string | undefined;
|
|
3344
3344
|
integrity?: string | undefined;
|
|
@@ -4128,7 +4128,6 @@ declare namespace React {
|
|
|
4128
4128
|
componentStack?: string | null;
|
|
4129
4129
|
}
|
|
4130
4130
|
|
|
4131
|
-
// Keep in sync with JSX namespace in ./jsx-runtime.d.ts and ./jsx-dev-runtime.d.ts
|
|
4132
4131
|
namespace JSX {
|
|
4133
4132
|
interface Element extends React.ReactElement<any, any> {}
|
|
4134
4133
|
interface ElementClass extends React.Component<any> {
|
react/ts5.0/jsx-dev-runtime.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import * as React from "./";
|
|
2
|
-
export { Fragment } from "./";
|
|
3
|
-
|
|
4
|
-
export namespace JSX {
|
|
5
|
-
interface Element extends React.JSX.Element {}
|
|
6
|
-
interface ElementClass extends React.JSX.ElementClass {}
|
|
7
|
-
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
|
|
8
|
-
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
|
|
9
|
-
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
|
|
10
|
-
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {}
|
|
11
|
-
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
|
|
12
|
-
interface IntrinsicElements extends React.JSX.IntrinsicElements {}
|
|
13
|
-
}
|
|
2
|
+
export { Fragment, JSX } from "./";
|
|
14
3
|
|
|
15
4
|
export interface JSXSource {
|
|
16
5
|
/**
|
react/ts5.0/jsx-runtime.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import * as React from "./";
|
|
2
|
-
export { Fragment } from "./";
|
|
3
|
-
|
|
4
|
-
export namespace JSX {
|
|
5
|
-
interface Element extends React.JSX.Element {}
|
|
6
|
-
interface ElementClass extends React.JSX.ElementClass {}
|
|
7
|
-
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
|
|
8
|
-
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
|
|
9
|
-
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
|
|
10
|
-
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {}
|
|
11
|
-
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
|
|
12
|
-
interface IntrinsicElements extends React.JSX.IntrinsicElements {}
|
|
13
|
-
}
|
|
2
|
+
export { Fragment, JSX } from "./";
|
|
14
3
|
|
|
15
4
|
/**
|
|
16
5
|
* Create a React element.
|