From 3fb09e2316aaffe1304cd76e8e6d0ea0bafb59bc Mon Sep 17 00:00:00 2001 From: Anirudh Coontoor Date: Sat, 10 May 2025 12:01:56 +0530 Subject: [PATCH] Import type only for fixing issue with tsconfig verbatimModuleSyntax --- sdk/core/src/index.ts | 2 +- sdk/core/src/models/MoEProperties.ts | 2 +- sdk/core/src/utils/MoEJsonBuilder.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/core/src/index.ts b/sdk/core/src/index.ts index f318b49c..99835981 100644 --- a/sdk/core/src/index.ts +++ b/sdk/core/src/index.ts @@ -58,7 +58,7 @@ import MoEInAppData from "../src/models/MoEInAppData"; import { getUserDeletionData, getUserIdentitiesData } from "../src/moeParser/MoEngagePayloadParser"; import { MoEngageNudgePosition } from "../src/models/MoEngageNudgePosition"; import MoEAnalyticsConfig from "../src/models/MoEAnalyticsConfig"; -import { MoESupportedAttributes } from "./models/MoESupportedAttributes"; +import { type MoESupportedAttributes } from "./models/MoESupportedAttributes"; import * as MoECoreHandler from "./utils/MoECoreHandler"; const PLATFORM_IOS = "ios"; diff --git a/sdk/core/src/models/MoEProperties.ts b/sdk/core/src/models/MoEProperties.ts index 78dc3039..43e0c7a7 100644 --- a/sdk/core/src/models/MoEProperties.ts +++ b/sdk/core/src/models/MoEProperties.ts @@ -2,7 +2,7 @@ import MoEngageLogger from "../logger/MoEngageLogger"; import { MoEGeoLocationToJson } from "../utils/MoEObjectToJson"; import MoEGeoLocation from "./MoEGeoLocation"; -import { MoESupportedAttributes } from "./MoESupportedAttributes"; +import { type MoESupportedAttributes } from "./MoESupportedAttributes"; export default class MoEProperties { private generalAttributes: { [k: string]: any } diff --git a/sdk/core/src/utils/MoEJsonBuilder.ts b/sdk/core/src/utils/MoEJsonBuilder.ts index 950fbd11..1bf1af80 100644 --- a/sdk/core/src/utils/MoEJsonBuilder.ts +++ b/sdk/core/src/utils/MoEJsonBuilder.ts @@ -8,7 +8,7 @@ import { MoEngagePermissionType } from "../models/MoEngagePermissionType"; import MoEInitConfig from "../models/MoEInitConfig"; import MoEngageLogger from "../logger/MoEngageLogger"; import { MoEngageNudgePosition } from "../models/MoEngageNudgePosition"; -import { MoESupportedAttributes } from "../models/MoESupportedAttributes"; +import { type MoESupportedAttributes } from "../models/MoESupportedAttributes"; import MoESelfHandledCampaign from "../models/MoESelfHandledCampaign"; import MoEInAppRules from "../models/MoEInAppRules"; import { ACCOUNT_META, APP_ID, MOE_DATA, USER_IDENTITY, USER_UNIQUE_IDENTITY } from "./MoEConstants";