@limitless-angular/sanity
Version:
A powerful Angular library for Sanity.io integration, featuring Portable Text rendering and optimized image loading.
5 lines (4 loc) • 311 B
TypeScript
import { PortableTextBlock } from '@portabletext/types';
import { Serializable, SerializedBlock } from './types';
export declare function serializeBlock(options: Serializable<PortableTextBlock>): SerializedBlock;
export declare function trackBy(key: string | undefined, index: number, prefix?: string): string;