UNPKG

@kontent-ai/smart-link

Version:

Kontent.ai Smart Link SDK allowing to automatically inject [smart links](https://docs.kontent.ai/tutorials/develop-apps/build-strong-foundation/set-up-editing-from-preview#a-using-smart-links) to Kontent.ai according to manually specified [HTML data attri

7 lines (6 loc) 237 B
export interface IStorage<T> { readonly get: () => T | null; readonly set: (data: T) => void; readonly remove: () => void; } export declare function createStorage<T extends Record<string, unknown>>(key: string): IStorage<T>;