fix: use type imports for block events

This commit is contained in:
Fern Sanchez 2023-09-22 21:43:07 -04:00
parent c9014e670d
commit 6c64c50d6f
6 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
import { BlockAPI } from '../../api';
import type { BlockAPI } from '../../api';
/**
* Details of CustomEvent fired on block mutation

View file

@ -1,4 +1,4 @@
import { BlockMutationEventDetail } from './Base';
import type { BlockMutationEventDetail } from './Base';
/**
* Type name of CustomEvent related to block added event

View file

@ -1,4 +1,4 @@
import { BlockMutationEventDetail } from './Base';
import type { BlockMutationEventDetail } from './Base';
/**
* Type name of CustomEvent related to block changed event

View file

@ -1,4 +1,4 @@
import { BlockMutationEventDetail } from './Base';
import type { BlockMutationEventDetail } from './Base';
/**
* Type name of CustomEvent related to block moved event

View file

@ -1,4 +1,4 @@
import { BlockMutationEventDetail } from './Base';
import type { BlockMutationEventDetail } from './Base';
/**
* Type name of CustomEvent related to block removed event

View file

@ -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