mirror of
https://github.com/codex-team/editor.js
synced 2024-05-06 08:33:20 +02:00
eslint fix
This commit is contained in:
parent
12c1e33d1d
commit
2197282cbb
|
@ -6,7 +6,7 @@ import Flipper from '../../flipper';
|
|||
import I18n from '../../i18n';
|
||||
import { I18nInternalNS } from '../../i18n/namespace-internal';
|
||||
import { clean } from '../../utils/sanitizer';
|
||||
import { ToolboxConfig, ToolConfig, BlockToolData } from '../../../../types';
|
||||
import { ToolboxConfig, BlockToolData } from '../../../../types';
|
||||
|
||||
/**
|
||||
* HTML Elements used for ConversionToolbar
|
||||
|
|
|
@ -3,7 +3,7 @@ import { BlockToolAPI } from '../block';
|
|||
import Shortcuts from '../utils/shortcuts';
|
||||
import BlockTool from '../tools/block';
|
||||
import ToolsCollection from '../tools/collection';
|
||||
import {API, BlockToolData, ToolboxConfig, ToolConfig} from '../../../types';
|
||||
import { API, BlockToolData, ToolboxConfig } from '../../../types';
|
||||
import EventsDispatcher from '../utils/events';
|
||||
import Popover, { PopoverEvent, PopoverItem } from '../utils/popover';
|
||||
import I18n from '../i18n';
|
||||
|
|
|
@ -785,7 +785,7 @@ export const isIosDevice =
|
|||
*
|
||||
* @param var1 - value to compare
|
||||
* @param var2 - value to compare with
|
||||
* @returns true if they are equal
|
||||
* @returns {boolean} true if they are equal
|
||||
*/
|
||||
export function equals(var1: unknown, var2: unknown): boolean {
|
||||
const isVar1NonPrimitive = Array.isArray(var1) || isObject(var1);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import $ from '../../components/dom';
|
||||
import { API, BlockTool, BlockToolConstructorOptions, BlockToolData, ToolConfig, ToolboxConfig } from '../../../types';
|
||||
import { API, BlockTool, BlockToolConstructorOptions, BlockToolData } from '../../../types';
|
||||
|
||||
export interface StubData extends BlockToolData {
|
||||
title: string;
|
||||
|
|
Loading…
Reference in a new issue