Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit 91cfde3

Browse files
committed
Fixed upgrade guide
1 parent 7fb16fc commit 91cfde3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/upgrading/v1.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,15 @@ export default {
203203
You can get more information via [Swagger help files](https://swagger.io/docs/specification/about/).
204204
:::
205205

206-
## Step 8. IContext change
206+
## Step 8. IRequestPack change
207207

208-
The `IContext` interface has been renamed as `IContext`.
208+
The `IRequestPack` interface has been renamed as `IContext`.
209209

210210
```ts
211-
import { IContext } from "axe-api"; // [!code --]
211+
import { IRequestPack } from "axe-api"; // [!code --]
212212
import { IContext } from "axe-api"; // [!code ++]
213213

214-
// [!code --] export default async (params: IContext) => {
214+
// export default async (params: IRequestPack) => {
215215
// [!code ++] export default async (params: IContext) => {
216216
// your hook/event function
217217
};

0 commit comments

Comments
 (0)