feat:add eslint and fix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { IElementPosition } from "./Element"
|
||||
import { IRow } from "./Row"
|
||||
import { IElementPosition } from './Element'
|
||||
import { IRow } from './Row'
|
||||
|
||||
export interface IDrawOption {
|
||||
curIndex?: number;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { IElement } from ".."
|
||||
import { EditorMode } from "../dataset/enum/Editor"
|
||||
import { IHeader } from "./Header"
|
||||
import { IWatermark } from "./Watermark"
|
||||
import { IElement } from '..'
|
||||
import { EditorMode } from '../dataset/enum/Editor'
|
||||
import { IHeader } from './Header'
|
||||
import { IWatermark } from './Watermark'
|
||||
|
||||
export interface IEditorOption {
|
||||
defaultMode?: EditorMode;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ElementType } from "../dataset/enum/Element"
|
||||
import { RowFlex } from "../dataset/enum/Row"
|
||||
import { IColgroup } from "./table/Colgroup"
|
||||
import { ITr } from "./table/Tr"
|
||||
import { ElementType } from '../dataset/enum/Element'
|
||||
import { RowFlex } from '../dataset/enum/Row'
|
||||
import { IColgroup } from './table/Colgroup'
|
||||
import { ITr } from './table/Tr'
|
||||
|
||||
export interface IElementBasic {
|
||||
id?: string;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ElementType } from ".."
|
||||
import { RowFlex } from "../dataset/enum/Row"
|
||||
import { IEditorResult } from "./Editor"
|
||||
import { ElementType } from '..'
|
||||
import { RowFlex } from '../dataset/enum/Row'
|
||||
import { IEditorResult } from './Editor'
|
||||
|
||||
export interface IRangeStyle {
|
||||
type: ElementType | null;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IElement } from ".."
|
||||
import { IElementPosition } from "./Element"
|
||||
import { ITd } from "./table/Td"
|
||||
import { IElement } from '..'
|
||||
import { IElementPosition } from './Element'
|
||||
import { ITd } from './table/Td'
|
||||
|
||||
export interface ICurrentPosition {
|
||||
index: number;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { RowFlex } from "../dataset/enum/Row"
|
||||
import { IElement, IElementMetrics } from "./Element"
|
||||
import { RowFlex } from '../dataset/enum/Row'
|
||||
import { IElement, IElementMetrics } from './Element'
|
||||
|
||||
export type IRowElement = IElement & {
|
||||
metrics: IElementMetrics;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { EditorContext } from "../dataset/enum/Editor"
|
||||
import { EditorContext } from '../dataset/enum/Editor'
|
||||
|
||||
export interface ISearchResultBasic {
|
||||
type: EditorContext;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { IElement, IElementPosition } from "../Element"
|
||||
import { IRow } from "../Row"
|
||||
import { IElement, IElementPosition } from '../Element'
|
||||
import { IRow } from '../Row'
|
||||
|
||||
export interface ITd {
|
||||
id?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ITd } from "./Td"
|
||||
import { ITd } from './Td'
|
||||
|
||||
export interface ITr {
|
||||
id?: string;
|
||||
|
||||
Reference in New Issue
Block a user