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

8 lines (7 loc) 270 B
export type DeepPartial<T> = { [P in keyof T]?: DeepPartial<T[P]>; }; export type Replace<T, NewValues extends { [key in keyof T]?: unknown; }> = T extends any ? Omit<T, keyof NewValues> & Readonly<NewValues> : never; export type NonEmptyArray<T> = [T, ...T[]];