mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -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,
|
measureBaseline,
|
||||||
} from "../element/textElement";
|
} from "../element/textElement";
|
||||||
import { convertToExcalidrawElements } from "../element/newElement";
|
import { convertToExcalidrawElements } from "../element/newElement";
|
||||||
import { COLOR_PALETTE } from "../colors";
|
|
||||||
|
|
||||||
type RestoredAppState = Omit<
|
type RestoredAppState = Omit<
|
||||||
AppState,
|
AppState,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import {
|
import {
|
||||||
ExcalidrawElement,
|
ExcalidrawElement,
|
||||||
ExcalidrawGenericElement,
|
|
||||||
FontFamilyValues,
|
FontFamilyValues,
|
||||||
TextAlign,
|
TextAlign,
|
||||||
VerticalAlign,
|
VerticalAlign,
|
||||||
|
|
|
@ -49,7 +49,6 @@ import {
|
||||||
import { isArrowElement } from "./typeChecks";
|
import { isArrowElement } from "./typeChecks";
|
||||||
import { MarkOptional, Merge, Mutable } from "../utility-types";
|
import { MarkOptional, Merge, Mutable } from "../utility-types";
|
||||||
import { ImportedDataState } from "../data/types";
|
import { ImportedDataState } from "../data/types";
|
||||||
import { restoreElementWithProperties } from "../data/restore";
|
|
||||||
|
|
||||||
export const ELEMENTS_SUPPORTING_PROGRAMMATIC_API = [
|
export const ELEMENTS_SUPPORTING_PROGRAMMATIC_API = [
|
||||||
"rectangle",
|
"rectangle",
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {
|
||||||
THEME,
|
THEME,
|
||||||
VERTICAL_ALIGN,
|
VERTICAL_ALIGN,
|
||||||
} from "../constants";
|
} from "../constants";
|
||||||
import { MarkNonNullable, MarkOptional, ValueOf } from "../utility-types";
|
import { MarkNonNullable, ValueOf } from "../utility-types";
|
||||||
|
|
||||||
export type ChartType = "bar" | "line";
|
export type ChartType = "bar" | "line";
|
||||||
export type FillStyle = "hachure" | "cross-hatch" | "solid" | "zigzag";
|
export type FillStyle = "hachure" | "cross-hatch" | "solid" | "zigzag";
|
||||||
|
|
|
@ -606,6 +606,7 @@ const ExcalidrawWrapper = () => {
|
||||||
|
|
||||||
const isOffline = useAtomValue(isOfflineAtom);
|
const isOffline = useAtomValue(isOfflineAtom);
|
||||||
|
|
||||||
|
//@ts-ignore
|
||||||
const getInitialData = (): ExcalidrawInitialDataState => {
|
const getInitialData = (): ExcalidrawInitialDataState => {
|
||||||
return {
|
return {
|
||||||
scrollToContent: true,
|
scrollToContent: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue