From a2c9350cc4e82878caeb24091f6faad4b4b8e8e5 Mon Sep 17 00:00:00 2001 From: Devon Wells Date: Tue, 7 Oct 2025 06:48:29 -0400 Subject: [PATCH] docs: typos in define helpers page (#3533) ## Summary Minor typos in define docs page I noticed while onboarding to Fresh 2. --- docs/latest/advanced/define.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/latest/advanced/define.md b/docs/latest/advanced/define.md index ae42dde8..2015ebfa 100644 --- a/docs/latest/advanced/define.md +++ b/docs/latest/advanced/define.md @@ -5,7 +5,7 @@ description: | Define helpers can be used to shorten the amount of types you have to type yourself in code. They are entirely optional as some developers prefer the -expliciteness of types, other's like the convenience of `define.*` helpers. +explicitness of types, other's like the convenience of `define.*` helpers. Without define helpers: @@ -53,7 +53,7 @@ export const otherMiddleware = define.middleware((ctx) => { The `define.*` helpers include a `define.handler()` and `define.page()` function to make it easy for TypeScript to establish a relation between the two. That way -when you can pass data from the handler to the component in a type-safe way. +you can pass data from the handler to the component in a type-safe way. ```tsx routes/index.tsx export const handler = define.handlers({