Explorar o código

feat: Add a `subtype?: string` property to `ExcalidrawElement`.

Daniel J. Geiger %!s(int64=2) %!d(string=hai) anos
pai
achega
3dd446dc15
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/element/types.ts

+ 1 - 0
src/element/types.ts

@@ -65,6 +65,7 @@ type _ExcalidrawElementBase = Readonly<{
   updated: number;
   link: string | null;
   locked: boolean;
+  subtype?: string;
   customData?: Record<string, any>;
 }>;