Skip to content

Visualize Your Ideas With Code

docs: typo fixes (#191)

Danny Noenickx9df6d7512fa8
diff --git a/packages/2d/src/components/Layout.ts b/packages/2d/src/components/Layout.ts
index bbd2894f..cbd677a8 100644
--- a/packages/2d/src/components/Layout.ts
+++ b/packages/2d/src/components/Layout.ts
@@ -292,7 +292,7 @@ export class Layout extends Node {
* Represents the size of this node.
*
* @remarks
- * A size is a two-dimensional vector, where `x` represents the width, and `y`
+ * A size is a two-dimensional vector, where `x` represents the `width`, and `y`
* represents the `height`.
*
* The value of both x and y is of type {@link partials~Length} which is
diff --git a/packages/core/src/flow/chain.ts b/packages/core/src/flow/chain.ts
index c210323a..175997a5 100644
--- a/packages/core/src/flow/chain.ts
+++ b/packages/core/src/flow/chain.ts
@@ -25,7 +25,7 @@ decorate(chain, threadable());
* functions. For example:
* ```ts
* yield* all(
- * rect.corenerRadius(20, 3),
+ * rect.radius(20, 3),
* chain(
* rect.fill('#ff0000', 2),
* rect.opacity(1, 1),