You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types/index.d.ts
+21-53Lines changed: 21 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,13 @@ declare module JsSyncTools {
14
14
exportclassSynchronizer{
15
15
/**
16
16
* Creates a new Synchronizer instance
17
-
* @param config The synchronizer config object
17
+
* @param config - The synchronizer config object
18
18
*/
19
19
constructor(config: ISynchronizerSettings);
20
20
/**
21
21
* Execute synchronization
22
-
* @param cb Optional error-first callback to be invoked when the synchronization ends. The callback will be invoked with an error as first argument if the synchronization fails.
23
-
* @return {Promise<boolean>} A promise that resolves when the operation ends,
24
-
* with a boolean indicating if operation succeeded or not. The promise never rejects.
22
+
* @param cb - Optional error-first callback to be invoked when the synchronization ends. The callback will be invoked with an error as first argument if the synchronization fails.
23
+
* @returns A promise that resolves when the operation ends, with a boolean indicating if operation succeeded or not. The promise never rejects.
* String property to override the base URL where the synchronizer will get feature flagging related data like a feature flag rollout plan or segments information.
43
40
*
44
-
* @property {string} sdk
45
-
* @default 'https://sdk.split.io/api'
41
+
* @defaultValue `'https://sdk.split.io/api'`
46
42
*/
47
43
sdk?: string
48
44
/**
49
45
* String property to override the base URL where the synchronizer will post impressions and events.
50
46
*
51
-
* @property {string} events
52
-
* @default 'https://events.split.io/api'
47
+
* @defaultValue `'https://events.split.io/api'`
53
48
*/
54
49
events?: string,
55
50
/**
56
51
* String property to override the base URL where the synchronizer will post telemetry data.
0 commit comments