From f2cbe231b813aa6ab413f22b22f5b0214c712969 Mon Sep 17 00:00:00 2001 From: Weiran Ye Date: Mon, 19 Feb 2024 22:46:52 -0800 Subject: [PATCH] param type correction --- .../docs/@excalidraw/excalidraw/api/utils/utils-intro.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 676b521e6..cd8592adc 100644 --- a/dev-docs/docs/@excalidraw/excalidraw/api/utils/utils-intro.md +++ b/dev-docs/docs/@excalidraw/excalidraw/api/utils/utils-intro.md @@ -15,12 +15,12 @@ If you want to overwrite the `source` field in the `JSON` string, you can set `w **_Signature_**
-serializeAsJSON({
+serializeAsJSON(
   elements: ExcalidrawElement[],
   appState: AppState,
   files: BinaryFiles,
-  type: "local" | "database"
-}): string
+  type: "local" | "database"
+): string
 
**How to use**