Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 19, 2023
1 parent 0b3cb45 commit 8c5a278
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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](./playground/typesafe-schema)
> The exeample code is [here](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](./playground/local-schema)
> The exeample code is [here](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 @@ -211,10 +211,10 @@ router.get(
)
```
### define global resource schema with `declare module '@intlify/h3'`
### global resource schema with `declare module '@intlify/h3'`
> [!NOTE]
> The exeample code is [here](./playground/global-schema)
> The exeample code is [here](playground/global-schema)
You can do resource key completion with the translation function using the typescript `declare module`.
Expand Down

0 comments on commit 8c5a278

Please sign in to comment.