-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathindex.d.ts
More file actions
28 lines (25 loc) · 1.37 KB
/
index.d.ts
File metadata and controls
28 lines (25 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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;
}