fix(types): FIx incorrect imports (#2811)

* Fix types

* Update changelog
This commit is contained in:
Tatiana Fomina 2024-08-13 21:41:08 +03:00 committed by GitHub
commit 339e772b92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,9 @@
# Changelog
### 2.30.5
`Fix` Fix exported types
### 2.30.4
- `Fix` - Tool's exporting types added

View file

@ -1,6 +1,6 @@
{
"name": "@editorjs/editorjs",
"version": "2.30.4",
"version": "2.30.5",
"description": "Editor.js — open source block-style WYSIWYG editor with JSON output",
"main": "dist/editorjs.umd.js",
"module": "dist/editorjs.mjs",

View file

@ -1,4 +1,4 @@
import { BlockToolAdapter } from '@/types/tools/adapters/block-tool-adapter';
import { BlockToolAdapter } from '../tools/adapters/block-tool-adapter';
/**
* Describes methods for accessing installed Editor tools

View file

@ -1,4 +1,4 @@
import { PopoverItemDefaultBaseParams, PopoverItemHtmlParams, PopoverItemParams, PopoverItemSeparatorParams, WithChildren } from "../configs";
import { PopoverItemDefaultBaseParams, PopoverItemHtmlParams, PopoverItemSeparatorParams, WithChildren } from '../utils/popover';
/**
* Menu configuration format.