@types/react
Advanced tools
Comparing version 16.14.56 to 16.14.57
// Expose `JSX` namespace in `global` namespace | ||
import "./"; | ||
import * as React from "./"; | ||
export { Fragment } from "./"; | ||
export interface JSXSource { | ||
/** | ||
* The source file where the element originates from. | ||
*/ | ||
fileName?: string | undefined; | ||
/** | ||
* The line number where the element was created. | ||
*/ | ||
lineNumber?: number | undefined; | ||
/** | ||
* The column number where the element was created. | ||
*/ | ||
columnNumber?: number | undefined; | ||
} | ||
/** | ||
* Create a React element. | ||
* | ||
* You should not use this function directly. Use JSX and a transpiler instead. | ||
*/ | ||
export function jsxDEV( | ||
type: React.ElementType, | ||
props: unknown, | ||
key: React.Key | undefined, | ||
isStatic: boolean, | ||
source?: JSXSource, | ||
self?: unknown, | ||
): React.ReactElement; |
// Expose `JSX` namespace in `global` namespace | ||
import "./"; | ||
import * as React from "./"; | ||
export { Fragment } from "./"; | ||
/** | ||
* Create a React element. | ||
* | ||
* You should not use this function directly. Use JSX and a transpiler instead. | ||
*/ | ||
export function jsx( | ||
type: React.ElementType, | ||
props: unknown, | ||
key?: React.Key, | ||
): React.ReactElement; | ||
/** | ||
* Create a React element. | ||
* | ||
* You should not use this function directly. Use JSX and a transpiler instead. | ||
*/ | ||
export function jsxs( | ||
type: React.ElementType, | ||
props: unknown, | ||
key?: React.Key, | ||
): React.ReactElement; |
{ | ||
"name": "@types/react", | ||
"version": "16.14.56", | ||
"version": "16.14.57", | ||
"description": "TypeScript definitions for react", | ||
@@ -167,4 +167,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react", | ||
}, | ||
"typesPublisherContentHash": "f467800b8e2a327aa4679c4b48cdc407c89e999587cc082eb7410ac909e0e0f1", | ||
"typesPublisherContentHash": "0624b576b9dce75536efab5c2bf3cffec3e8ba22408f7813405ec221ea1acb66", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 15 Jan 2024 09:07:05 GMT | ||
* Last updated: Mon, 26 Feb 2024 19:06:50 GMT | ||
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler), [csstype](https://npmjs.com/package/csstype) | ||
@@ -14,0 +14,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168479
3285