From 7bd5c53ab27defac388666d80e75606cd15ab07e Mon Sep 17 00:00:00 2001 From: Alireza Kamali Date: Tue, 21 Feb 2023 01:48:50 +0330 Subject: [PATCH] fix(types): compiler error from importing type BlockToolData (#2264) Co-authored-by: Peter Savchenko --- docs/CHANGELOG.md | 1 + types/configs/conversion-config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 2c4960d1..996914d3 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -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 diff --git a/types/configs/conversion-config.ts b/types/configs/conversion-config.ts index 25d3ee45..0d614f06 100644 --- a/types/configs/conversion-config.ts +++ b/types/configs/conversion-config.ts @@ -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