diff --git a/package.json b/package.json index 8f1565d7..c1087c17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@editorjs/embed", - "version": "2.7.5", + "version": "2.7.6", "keywords": [ "codex editor", "embed", diff --git a/src/index.ts b/src/index.ts index ae5405ca..9f7727d4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,8 @@ import SERVICES from './services'; import './index.css'; import { debounce } from 'debounce'; -import { ServiceConfig, ServicesConfigType } from './types/types'; -import { API , PatternPasteEventDetail } from '@editorjs/editorjs'; +import type { ServiceConfig, ServicesConfigType } from './serviceConfig'; +import type { API , PatternPasteEventDetail } from '@editorjs/editorjs'; /** * @description Embed Tool data diff --git a/src/types/types.ts b/src/serviceConfig.ts similarity index 100% rename from src/types/types.ts rename to src/serviceConfig.ts diff --git a/src/services.ts b/src/services.ts index 79115930..27e8e9c2 100644 --- a/src/services.ts +++ b/src/services.ts @@ -1,5 +1,5 @@ /* eslint-disable no-useless-escape */ -import { ServiceConfig, ServicesConfigType } from './types/types'; +import type { ServicesConfigType } from './serviceConfig'; const SERVICES: ServicesConfigType = { vimeo: { @@ -185,4 +185,4 @@ const SERVICES: ServicesConfigType = { }, }; -export default SERVICES; \ No newline at end of file +export default SERVICES;