editor.js/types/events/block/Base.ts
ferntheplant 494d6e4b9b
fix: use type imports for block events (#2491)
* fix: use type imports for block events

* add changelog entry

---------

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2023-12-05 19:26:10 +03:00

12 lines
200 B
TypeScript

import type { BlockAPI } from '../../api';
/**
* Details of CustomEvent fired on block mutation
*/
export interface BlockMutationEventDetail {
/**
* Affected block
*/
target: BlockAPI;
}