Fix library import (#2360)

This commit is contained in:
David Luzar
2020-11-08 17:08:22 +01:00
committed by GitHub
parent dad9ad9bf4
commit 5b829772d9
3 changed files with 14 additions and 6 deletions

View File

@ -130,7 +130,7 @@ export type SocketUpdateData = SocketUpdateDataSource[keyof SocketUpdateDataSour
_brand: "socketUpdateData";
};
export type LibraryItem = NonDeleted<ExcalidrawElement>[];
export type LibraryItem = readonly NonDeleted<ExcalidrawElement>[];
export type LibraryItems = readonly LibraryItem[];
export interface ExcalidrawProps {