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 */