Skip to content

Commit c545e4a

Browse files
committed
fix: update LightLivePreviewHoC config to use IExportedConfig type
1 parent cefdb1a commit c545e4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import ContentstackLivePreviewHOC from "./preview/contentstack-live-preview-HOC";
2-
import { IStackSdk as ExternalStackSdkType } from "./types/types";
2+
import { IStackSdk as ExternalStackSdkType, IExportedConfig } from "./types/types";
33

44
import {
55
OnEntryChangeCallback,
@@ -37,7 +37,7 @@ class LightLivePreviewHoC {
3737
}
3838

3939
static get config() {
40-
return {};
40+
return {} as IExportedConfig;
4141
}
4242

4343
static isInitialized() {

0 commit comments

Comments
 (0)