diff --git a/src/main.ts b/src/main.ts index c5ff083..fdbc1e9 100755 --- a/src/main.ts +++ b/src/main.ts @@ -11,9 +11,7 @@ import objectPath from 'object-path' // Settings tab import import CloudinaryUploaderSettingTab from './settings-tab' -import CloudinarySettings from './settings-tab'; -import { DEFAULT_SETTINGS } from "./settings-tab"; - +import { DEFAULT_SETTINGS, CloudinarySettings } from "./settings-tab"; export default class CloudinaryUploader extends Plugin { settings: CloudinarySettings; diff --git a/src/settings-tab.ts b/src/settings-tab.ts index bc4fb4b..ddeba62 100755 --- a/src/settings-tab.ts +++ b/src/settings-tab.ts @@ -10,7 +10,7 @@ import { import CloudinaryUploader from './main' //Define Cloudinary Settings -interface CloudinarySettings { +export interface CloudinarySettings { cloudName: string; uploadPreset: string; folder: string;