refactor code

This commit is contained in:
Ryan Di 2023-12-01 17:43:01 +08:00
parent a7154227cf
commit d1a9c593cc
5 changed files with 128 additions and 125 deletions

View file

@ -1,7 +1,7 @@
import { ExcalidrawElement } from "../../src/element/types";
import { AppState } from "../../src/types";
import { arrayToMap, arrayToMapWithIndex } from "../../src/utils";
import { orderByFractionalIndex } from "../../src/zindex";
import { orderByFractionalIndex } from "../../src/fractionalIndex";
export type ReconciledElements = readonly ExcalidrawElement[] & {
_brand: "reconciledElements";