Skip to content

Commit

Permalink
docs: fix wrong url
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 19, 2023
1 parent 34ea601 commit 161c10a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const middleware = defineI18nMiddleware({
> We would like to get feedback from you 🙂.
> [!NOTE]
> The exeample code is [here](h3/playground/typesafe-schema)
> The exeample code is [here](https://github.com/intlify/h3/tree/main/playground/typesafe-schema)
You can support the type-safe resources with schema using TypeScript on `defineI18nMiddleware` options.

Expand Down Expand Up @@ -190,7 +190,7 @@ resource keys completion has twe ways.
### Type parameter for `useTranslation`
> [!NOTE]
> The exeample code is [here](h3/playground/local-schema)
> The exeample code is [here](https://github.com/intlify/h3/tree/main/playground/local-schema)
You can `useTranslation` set the type parameter to the resource schema you want to key completion of the translation function.
Expand All @@ -214,7 +214,7 @@ router.get(
### global resource schema with `declare module '@intlify/h3'`
> [!NOTE]
> The exeample code is [here](h3/playground/global-schema)
> The exeample code is [here](https://github.com/intlify/h3/tree/main/playground/global-schema)
You can do resource key completion with the translation function using the typescript `declare module`.
Expand Down

0 comments on commit 161c10a

Please sign in to comment.