From aab098643b5a067ae8326e9107d536d3d6899da4 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 19 Nov 2025 09:01:42 -0800 Subject: [PATCH] docs: fix typos in Brand section --- ark/docs/content/docs/expressions/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ark/docs/content/docs/expressions/index.mdx b/ark/docs/content/docs/expressions/index.mdx index a579d19c4e..c5d1537e87 100644 --- a/ark/docs/content/docs/expressions/index.mdx +++ b/ark/docs/content/docs/expressions/index.mdx @@ -213,7 +213,7 @@ Add a type-only symbol to an existing type so that the only values that satisfy const Even = type("(number % 2)#even") type Even = typeof Even.infer -const good: Even = even.assert(2) +const good: Even = Even.assert(2) // TypeScript: Type 'number' is not assignable to type 'Brand' const bad: Even = 5 ``` @@ -224,10 +224,10 @@ const bad: Even = 5 ```ts // @noErrors -const even = type.number.divisibleBy(2).brand("even") +const Even = type.number.divisibleBy(2).brand("even") type Even = typeof Even.infer -const good: Even = even.assert(2) +const good: Even = Even.assert(2) // TypeScript: Type 'number' is not assignable to type 'Brand' const bad: Even = 5 ```