File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
packages/optimizely-sdk/lib Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,9 @@ declare module '@optimizely/optimizely-sdk' {
39
39
40
40
export type Event = import ( './shared_types' ) . Event ;
41
41
42
- export interface DatafileOptions {
43
- autoUpdate ?: boolean ;
44
- updateInterval ?: number ;
45
- urlTemplate ?: string ;
46
- datafileAccessToken ?: string ;
47
- }
42
+ export type EventDispatcher = import ( './shared_types' ) . EventDispatcher ;
43
+
44
+ export type DatafileOptions = import ( './shared_types' ) . DatafileOptions ;
48
45
49
46
// The options object given to Optimizely.createInstance.
50
47
export interface Config {
@@ -145,17 +142,6 @@ declare module '@optimizely/optimizely-sdk' {
145
142
close ( ) : Promise < { success : boolean ; reason ?: string } > ;
146
143
}
147
144
148
- export interface EventDispatcher {
149
- /**
150
- * @param event
151
- * Event being submitted for eventual dispatch.
152
- * @param callback
153
- * After the event has at least been queued for dispatch, call this function to return
154
- * control back to the Client.
155
- */
156
- dispatchEvent : ( event : Event , callback : ( response : { statusCode : number ; } ) => void ) => void ;
157
- }
158
-
159
145
// NotificationCenter-related types
160
146
export interface NotificationCenter {
161
147
addNotificationListener < T extends ListenerPayload > (
You can’t perform that action at this time.
0 commit comments