mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-23 09:21:00 +02:00
fix lint
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user