Skip to content

Commit 7a17bd2

Browse files
docs: fix title for the code block (#12991)
* . * this is better? * similar changes to other files * Update documentation/docs/30-advanced/25-errors.md --------- Co-authored-by: Chew Tee Ming <[email protected]> Co-authored-by: Tee Ming <[email protected]>
1 parent 7b5c98d commit 7a17bd2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export async function POST({ request, platform }) {
8484
8585
To include type declarations for your bindings, reference them in your `src/app.d.ts`:
8686

87-
```dts
87+
```ts
8888
/// file: src/app.d.ts
8989
declare global {
9090
namespace App {

documentation/docs/25-build-and-deploy/70-adapter-cloudflare-workers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export async function POST({ request, platform }) {
105105
106106
To include type declarations for your bindings, reference them in your `src/app.d.ts`:
107107

108-
```dts
108+
```ts
109109
/// file: src/app.d.ts
110110
declare global {
111111
namespace App {

documentation/docs/30-advanced/25-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The exception is when the error occurs inside the root `+layout.js` or `+layout.
126126

127127
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'):
128128

129-
```dts
129+
```ts
130130
/// file: src/app.d.ts
131131
declare global {
132132
namespace App {

0 commit comments

Comments
 (0)