Comparing version 6.1.5-beta.0 to 6.1.5-beta.1
@@ -8,2 +8,8 @@ /* eslint-disable */ | ||
export interface MoizedReactElement { | ||
type: any; | ||
props: any; | ||
key: string | number | null; | ||
} | ||
/** | ||
@@ -18,3 +24,3 @@ * @deprecated | ||
props: Props | ||
) => JSX.Element) & { | ||
) => MoizedReactElement) & { | ||
displayName?: string; | ||
@@ -21,0 +27,0 @@ }; |
@@ -16,3 +16,2 @@ { | ||
"dependencies": { | ||
"@types/react": "*", | ||
"fast-equals": "^3.0.1", | ||
@@ -37,2 +36,3 @@ "micro-memoize": "^4.0.11" | ||
"@types/memoizee": "0.4.8", | ||
"@types/react": "18.0.26", | ||
"@types/react-dom": "18.0.10", | ||
@@ -132,3 +132,3 @@ "@typescript-eslint/eslint-plugin": "5.48.0", | ||
"types": "./index.d.ts", | ||
"version": "6.1.5-beta.0" | ||
"version": "6.1.5-beta.1" | ||
} |
@@ -7,2 +7,3 @@ import { copyStaticProperties } from './instance'; | ||
Moized as MoizedFunction, | ||
MoizedReactElement, | ||
Moizeable, | ||
@@ -80,3 +81,3 @@ Options, | ||
Moized.prototype.render = function () { | ||
Moized.prototype.render = function (): MoizedReactElement { | ||
return { | ||
@@ -89,3 +90,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
_owner: null, | ||
} as JSX.Element; | ||
} as MoizedReactElement; | ||
}; | ||
@@ -92,0 +93,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
801219
2
9567
59
- Removed@types/react@*
- Removed@types/prop-types@15.7.13(transitive)
- Removed@types/react@18.3.12(transitive)
- Removedcsstype@3.1.3(transitive)