@types/react 19.2.15 → 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 +0 -1
- react/jsx-dev-runtime.d.ts +1 -13
- react/jsx-runtime.d.ts +1 -13
- react/package.json +2 -2
- react/ts5.0/index.d.ts +0 -1
- 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
|
@@ -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": "
|
|
208
|
+
"typesPublisherContentHash": "580f6ad7d40adf3bc991a9524a6ae20bf91ce2b9d424d2e2fbf99831dc819896",
|
|
209
209
|
"typeScriptVersion": "5.3"
|
|
210
210
|
}
|
react/ts5.0/index.d.ts
CHANGED
|
@@ -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.
|