mirror of
https://github.com/codex-team/editor.js
synced 2024-06-09 09:22:16 +02:00
fix: use type imports for block events
This commit is contained in:
parent
c9014e670d
commit
6c64c50d6f
|
@ -1,4 +1,4 @@
|
|||
import { BlockAPI } from '../../api';
|
||||
import type { BlockAPI } from '../../api';
|
||||
|
||||
/**
|
||||
* Details of CustomEvent fired on block mutation
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { BlockMutationEventDetail } from './Base';
|
||||
import type { BlockMutationEventDetail } from './Base';
|
||||
|
||||
/**
|
||||
* Type name of CustomEvent related to block added event
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { BlockMutationEventDetail } from './Base';
|
||||
import type { BlockMutationEventDetail } from './Base';
|
||||
|
||||
/**
|
||||
* Type name of CustomEvent related to block changed event
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { BlockMutationEventDetail } from './Base';
|
||||
import type { BlockMutationEventDetail } from './Base';
|
||||
|
||||
/**
|
||||
* Type name of CustomEvent related to block moved event
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { BlockMutationEventDetail } from './Base';
|
||||
import type { BlockMutationEventDetail } from './Base';
|
||||
|
||||
/**
|
||||
* Type name of CustomEvent related to block removed event
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { BlockAddedEvent, BlockAddedMutationType } from './BlockAdded';
|
||||
import { BlockChangedEvent, BlockChangedMutationType } from './BlockChanged';
|
||||
import { BlockMovedEvent, BlockMovedMutationType } from './BlockMoved';
|
||||
import { BlockRemovedEvent, BlockRemovedMutationType } from './BlockRemoved';
|
||||
import { type BlockAddedEvent, BlockAddedMutationType } from './BlockAdded';
|
||||
import { type BlockChangedEvent, BlockChangedMutationType } from './BlockChanged';
|
||||
import { type BlockMovedEvent, BlockMovedMutationType } from './BlockMoved';
|
||||
import { type BlockRemovedEvent, BlockRemovedMutationType } from './BlockRemoved';
|
||||
|
||||
/**
|
||||
* Map for Custom Events related to block mutation types
|
||||
|
|
Loading…
Reference in a new issue