mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix lint
This commit is contained in:
parent
dcf9e27e51
commit
5bfe4dff5f
5 changed files with 2 additions and 4 deletions
|
@ -42,7 +42,6 @@ import {
|
|||
measureBaseline,
|
||||
} from "../element/textElement";
|
||||
import { convertToExcalidrawElements } from "../element/newElement";
|
||||
import { COLOR_PALETTE } from "../colors";
|
||||
|
||||
type RestoredAppState = Omit<
|
||||
AppState,
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import {
|
||||
ExcalidrawElement,
|
||||
ExcalidrawGenericElement,
|
||||
FontFamilyValues,
|
||||
TextAlign,
|
||||
VerticalAlign,
|
||||
|
|
|
@ -49,7 +49,6 @@ import {
|
|||
import { isArrowElement } from "./typeChecks";
|
||||
import { MarkOptional, Merge, Mutable } from "../utility-types";
|
||||
import { ImportedDataState } from "../data/types";
|
||||
import { restoreElementWithProperties } from "../data/restore";
|
||||
|
||||
export const ELEMENTS_SUPPORTING_PROGRAMMATIC_API = [
|
||||
"rectangle",
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
THEME,
|
||||
VERTICAL_ALIGN,
|
||||
} from "../constants";
|
||||
import { MarkNonNullable, MarkOptional, ValueOf } from "../utility-types";
|
||||
import { MarkNonNullable, ValueOf } from "../utility-types";
|
||||
|
||||
export type ChartType = "bar" | "line";
|
||||
export type FillStyle = "hachure" | "cross-hatch" | "solid" | "zigzag";
|
||||
|
|
|
@ -606,6 +606,7 @@ const ExcalidrawWrapper = () => {
|
|||
|
||||
const isOffline = useAtomValue(isOfflineAtom);
|
||||
|
||||
//@ts-ignore
|
||||
const getInitialData = (): ExcalidrawInitialDataState => {
|
||||
return {
|
||||
scrollToContent: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue