fix: move utility types out of .d.ts file to fix exported declaration files (#6315)

This commit is contained in:
David Luzar 2023-03-04 19:21:57 +01:00 committed by GitHub
parent cef6094d4c
commit 8542c95a7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 68 additions and 49 deletions

View file

@ -32,6 +32,7 @@ import {
} from "./textElement";
import { VERTICAL_ALIGN } from "../constants";
import { isArrowElement } from "./typeChecks";
import { MarkOptional, Merge, Mutable } from "../utility-types";
type ElementConstructorOpts = MarkOptional<
Omit<ExcalidrawGenericElement, "id" | "type" | "isDeleted" | "updated">,