Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix title for the code block #12991

Merged
merged 4 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export async function POST({ request, platform }) {

To include type declarations for your bindings, reference them in your `src/app.d.ts`:

```dts
```ts
/// file: src/app.d.ts
declare global {
namespace App {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export async function POST({ request, platform }) {

To include type declarations for your bindings, reference them in your `src/app.d.ts`:

```dts
```ts
/// file: src/app.d.ts
declare global {
namespace App {
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/30-advanced/25-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ The exception is when the error occurs inside the root `+layout.js` or `+layout.

If you're using TypeScript and need to customize the shape of errors, you can do so by declaring an `App.Error` interface in your app (by convention, in `src/app.d.ts`, though it can live anywhere that TypeScript can 'see'):

```dts
```ts
/// file: src/app.d.ts
declare global {
namespace App {
Expand Down
Loading