diff --git a/documentation/docs/30-advanced/25-errors.md b/documentation/docs/30-advanced/25-errors.md index 6d2d9d159207..642acc63f692 100644 --- a/documentation/docs/30-advanced/25-errors.md +++ b/documentation/docs/30-advanced/25-errors.md @@ -132,7 +132,7 @@ If you're using TypeScript and need to customize the shape of errors, you can do ```ts /// file: src/app.d.ts -namespace App { +declare namespace App { interface Error { code: string; id: string;