Skip to content

Commit 6575575

Browse files
Sync kit docs (#1385)
sync kit docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent e4ced3a commit 6575575

File tree

1 file changed

+1
-1
lines changed
  • apps/svelte.dev/content/docs/kit/30-advanced

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/docs/kit/30-advanced/20-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export async function reroute({ url, fetch }) {
321321
322322
### transport
323323

324-
This is a collection of _transporters_, which allow you to pass custom types — returned from `load` and form actions — across the server/client boundary. Each transporter contains an `encode` function, which encodes values on the server (or returns `false` for anything that isn't an instance of the type) and a corresponding `decode` function:
324+
This is a collection of _transporters_, which allow you to pass custom types — returned from `load` and form actions — across the server/client boundary. Each transporter contains an `encode` function, which encodes values on the server (or returns a falsy value for anything that isn't an instance of the type) and a corresponding `decode` function:
325325

326326
```js
327327
/// file: src/hooks.js

0 commit comments

Comments
 (0)