Skip to content

Commit 82900bb

Browse files
authored
[docs] add missing declare (#7865)
1 parent df44873 commit 82900bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ If you're using TypeScript and need to customize the shape of errors, you can do
132132
133133
```ts
134134
/// file: src/app.d.ts
135-
namespace App {
135+
declare namespace App {
136136
interface Error {
137137
code: string;
138138
id: string;

0 commit comments

Comments
 (0)