From 2d7e9a31df8825e989d6ebd1c27de8865889efe9 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 25 Mar 2024 15:34:43 +0000 Subject: [PATCH] fix docs not building due to typo (#3259) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit oops ### Change Type - [x] `docs` — Changes to the documentation, examples, or templates. - [x] `bugfix` — Bug fix --- packages/editor/api/api.json | 2 +- packages/editor/src/lib/primitives/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/api/api.json b/packages/editor/api/api.json index 67f116846..8c545cfc6 100644 --- a/packages/editor/api/api.json +++ b/packages/editor/api/api.json @@ -24726,7 +24726,7 @@ { "kind": "Function", "canonicalReference": "@tldraw/editor!isSafeFloat:function(1)", - "docComment": "/**\n * ] Check if a float is safe to use. ie: Not too big or small.\n *\n * @public\n */\n", + "docComment": "/**\n * Check if a float is safe to use. ie: Not too big or small.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", diff --git a/packages/editor/src/lib/primitives/utils.ts b/packages/editor/src/lib/primitives/utils.ts index 317f52239..bea8c6fd3 100644 --- a/packages/editor/src/lib/primitives/utils.ts +++ b/packages/editor/src/lib/primitives/utils.ts @@ -349,7 +349,7 @@ export function toFixed(v: number) { return Math.round(v * 1e2) / 1e2 } -/**] +/** * Check if a float is safe to use. ie: Not too big or small. * @public */