@polls-platform/core
Version:
Polls Platform core library
12 lines (11 loc) • 418 B
TypeScript
import { Config } from '../types';
/**
* Initialize the Polls SDK.
* Must be performed before interacting with the SDK.
* Any attempts to interact with the SDK before initializing will result
* in an error thrown.
* The SDK can be initialized multiple times and will always used the latest config.
* @category 1. Initialization
* @param config
*/
export declare function initializePolls(config: Config): void;