mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
remove ts ignore
This commit is contained in:
parent
03131750be
commit
2c52107f6f
2 changed files with 12 additions and 4 deletions
|
@ -44,7 +44,7 @@ export type LegacyAppState = {
|
|||
};
|
||||
|
||||
export type ValidLinearElement = {
|
||||
type: ExcalidrawLinearElement["type"];
|
||||
type: "arrow" | "line";
|
||||
x: number;
|
||||
y: number;
|
||||
label?: {
|
||||
|
@ -113,6 +113,11 @@ export interface ImportedDataState {
|
|||
| ExcalidrawImageElement
|
||||
| ExcalidrawFreeDrawElement
|
||||
>
|
||||
| ({
|
||||
type: Extract<ExcalidrawLinearElement["type"], "line">;
|
||||
x: number;
|
||||
y: number;
|
||||
} & Partial<ExcalidrawLinearElement>)
|
||||
| ValidContainer
|
||||
| ValidLinearElement
|
||||
| ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue