UNPKG

@veltdev/sdk

Version:

Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.

21 lines (19 loc) 571 B
// @ts-nocheck import * as velt from './types'; export * from './types'; export type Velt = { init: (api: string, config: velt.Config) => Velt, loaded: boolean, loadVelt: Function, loadSnippyly: Function } & velt.Velt; export const Velt: { init: (api: string, config?: velt.Config) => Promise<Velt>, loadSnippyly: () => Velt, loadVelt: () => Velt, loaded: boolean } & velt.Velt; //////////////////// // Global object //////////////////// declare global { interface Window { Snippyly: typeof velt.Velt; Velt: typeof velt.Velt; } }