Skip to content

Commit e9ce6f8

Browse files
author
uzair-folio3
committed
comments addressed: types imported from shared_types.ts
1 parent 497b2b7 commit e9ce6f8

File tree

1 file changed

+3
-4
lines changed
  • packages/optimizely-sdk/lib/core/notification_center

1 file changed

+3
-4
lines changed

packages/optimizely-sdk/lib/core/notification_center/index.d.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717

1818
declare module '@optimizely/optimizely-sdk/lib/core/notification_center' {
19-
import { UserAttributes, Experiment, Variation } from '@optimizely/optimizely-sdk';
2019
import { LogHandler, ErrorHandler } from '@optimizely/js-sdk-logging';
2120

2221
export enum NOTIFICATION_TYPES {
@@ -65,10 +64,10 @@ declare module '@optimizely/optimizely-sdk/lib/core/notification_center' {
6564
export interface NotificationData {
6665
type?: DECISION_NOTIFICATION_TYPES;
6766
userId?: string;
68-
attributes?: UserAttributes;
67+
attributes?: import('../../shared_types').UserAttributes;
6968
decisionInfo?: DecisionInfo;
70-
experiment?: Experiment;
71-
variation?: Variation;
69+
experiment?: import('../../shared_types').Experiment;
70+
variation?: import('../../shared_types').Variation;
7271
logEvent?: string;
7372
eventKey?: string;
7473
eventTags?: string;

0 commit comments

Comments
 (0)