@bedrock-layout/type-utils
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -22,3 +22,3 @@ import React from "react"; | ||
*/ | ||
<InstanceC extends React.ElementType = C>(props: PolymorphicComponentPropsWithRef<InstanceC, Props>): React.ReactElement | null; | ||
<InstanceC extends React.ElementType = C>(props: Readonly<PolymorphicComponentPropsWithRef<InstanceC, Props>>): React.ReactElement | null; | ||
}>; | ||
@@ -35,3 +35,3 @@ export type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>["ref"]; | ||
*/ | ||
export declare function forwardRefWithAs<C extends React.ElementType, Props = {}>(render: (props: PolymorphicComponentPropsWithoutRef<C, Props>, ref: PolymorphicRef<C>) => React.ReactElement | null): PolymorphicForwardedRefComponent<C, Props>; | ||
export declare function forwardRefWithAs<C extends React.ElementType, Props = {}>(render: (props: Readonly<PolymorphicComponentPropsWithoutRef<C, Props>>, ref: PolymorphicRef<C>) => React.ReactElement | null): PolymorphicForwardedRefComponent<C, Props>; | ||
export {}; |
{ | ||
"name": "@bedrock-layout/type-utils", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "bedrock-layout type utils", | ||
@@ -57,3 +57,3 @@ "sideEffects": false, | ||
}, | ||
"gitHead": "3d363797b8515a6e0a4562ea7737f42ca500afc2" | ||
"gitHead": "a6d6b30100b03c24cab0c3a363c8c1f362f115d0" | ||
} |
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
5420