@splitsoftware/splitio
Version:
29 lines (25 loc) • 1.4 kB
TypeScript
// Declaration file for JavaScript and Node.js Split Software SDK v8.1.0
// Project: https://www.split.io/
// Definitions by: Nico Zelaya <https://github.com/NicoZelaya/>
/// <reference path="./splitio.d.ts" />
export = JsSdk;
declare module JsSdk {
/**
* Split.io SDK factory function.
* The settings parameter should be an object that complies with the SplitIO.INodeAsyncSettings.
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#configuration}
*/
export function SplitFactory(settings: SplitIO.INodeAsyncSettings): SplitIO.IAsyncSDK;
/**
* Split.io SDK factory function.
* The settings parameter should be an object that complies with the SplitIO.INodeSettings.
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#configuration}
*/
export function SplitFactory(settings: SplitIO.INodeSettings): SplitIO.ISDK;
/**
* Split.io SDK factory function.
* The settings parameter should be an object that complies with the SplitIO.IBrowserSettings.
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK#configuration}
*/
export function SplitFactory(settings: SplitIO.IBrowserSettings): SplitIO.IBrowserSDK;
}