diff --git a/dev-docs/docs/@excalidraw/excalidraw/api/utils/utils-intro.md b/dev-docs/docs/@excalidraw/excalidraw/api/utils/utils-intro.md index 69bd88a83..8b5cb6227 100644 --- a/dev-docs/docs/@excalidraw/excalidraw/api/utils/utils-intro.md +++ b/dev-docs/docs/@excalidraw/excalidraw/api/utils/utils-intro.md @@ -15,10 +15,12 @@ If you want to overwrite the `source` field in the `JSON` string, you can set `w **_Signature_**
-serializeAsJSON({**How to use**
+serializeAsJSON(
elements: ExcalidrawElement[],
- appState: AppState,
-}): string + appState: AppState,
+ files: BinaryFiles,
+ type: "local" | "database"
+): string