-
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.54 KB
/
index.d.ts
File metadata and controls
28 lines (25 loc) · 1.54 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 namespace 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://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/server-side-sdks/nodejs-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://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/server-side-sdks/nodejs-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://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/client-side-sdks/javascript-sdk/#configuration}
*/
export function SplitFactory(settings: SplitIO.IBrowserSettings): SplitIO.IBrowserSDK;
}