fix(types): compiler error from importing type BlockToolData (#2264)

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
This commit is contained in:
Alireza Kamali 2023-02-21 01:48:50 +03:30 committed by GitHub
parent 58d6869285
commit 7bd5c53ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
- `Refactoring` — Popover class refactored.
- `Improvement`*Toolbox* — Number of `close()` method calls optimized.
- `Improvement` — The `onChange` callback won't be triggered only if all mutations contain nodes with the `data-mutation-free` attributes.
- `Fix` — Resolve compiler error from importing the BlockToolData type
### 2.26.5

View File

@ -1,4 +1,4 @@
import {BlockToolData} from '../tools';
import type { BlockToolData } from '../tools';
/**
* Config allows Tool to specify how it can be converted into/from another Tool