Fix compiles.

This commit is contained in:
Paulo Gustavo Veiga 2022-12-10 12:41:07 -08:00
parent 32b8e89b13
commit 359d3e0723

View File

@ -21,8 +21,6 @@ import EmojiCharIcon from './EmojiCharIcon';
import SvgImageIcon from './SvgImageIcon'; import SvgImageIcon from './SvgImageIcon';
import LinkIcon from './LinkIcon'; import LinkIcon from './LinkIcon';
import NoteIcon from './NoteIcon'; import NoteIcon from './NoteIcon';
import Topic from './Topic';
import FeatureModel from './model/FeatureModel';
const TopicFeatureFactory = { const TopicFeatureFactory = {
/** the icon object */ /** the icon object */
@ -48,7 +46,7 @@ const TopicFeatureFactory = {
icon: NoteIcon, icon: NoteIcon,
}, },
createIcon(topic: Topic, model: FeatureModel, readOnly: boolean) { createIcon(topic, model, readOnly) {
$assert(topic, 'topic can not be null'); $assert(topic, 'topic can not be null');
$assert(model, 'model can not be null'); $assert(model, 'model can not be null');