astro-portabletext
Advanced tools
Comparing version 0.9.5 to 0.9.6
@@ -35,3 +35,3 @@ import type { Props, SomePortableTextComponents, TypedObject } from "./types"; | ||
: (Overrides & Components)[Key]; | ||
} | ||
}, | ||
>(components: Components, overrides: Overrides) { | ||
@@ -38,0 +38,0 @@ const cmps = { ...components } as Record<string, ComponentOrRecord>; |
@@ -93,7 +93,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
*/ | ||
mark: ComponentOrRecord<Mark<Record<string, any>>> | ComponentOrRecord<Mark>; | ||
mark: ComponentOrRecord<Mark<never>>; | ||
/** | ||
* Used when a `mark` handler isn't found | ||
*/ | ||
unknownMark: Component<Mark<Record<string, any>>> | Component<Mark>; | ||
unknownMark: Component<Mark<never>>; | ||
/** | ||
@@ -100,0 +100,0 @@ * How line breaks should be rendered |
{ | ||
"name": "astro-portabletext", | ||
"version": "0.9.5", | ||
"version": "0.9.6", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Render Portable Text with Astro", |
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
24940