fix: updated the "Advanced Typescript Guide" link throughout the documentation (#3294)

This commit is contained in:
Yurii Bezhentsev 2025-11-10 00:36:58 -06:00 committed by GitHub
parent 81df20a050
commit cda9d12078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -117,4 +117,4 @@ Please keep in mind you should only apply middlewares in the combined store. App
## Usage with TypeScript
A detailed guide on how to use the slice pattern in Zustand with TypeScript can be found [here](./typescript.md#slices-pattern).
A detailed guide on how to use the slice pattern in Zustand with TypeScript can be found [here](./advanced-typescript.md#slices-pattern).

View File

@ -19,7 +19,7 @@ npm install immer
## Usage
(Notice the extra parentheses after the type parameter as mentioned in the [Typescript Guide](../guides/typescript.md)).
(Notice the extra parentheses after the type parameter as mentioned in the [Advanced Typescript Guide](../guides/advanced-typescript.md)).
Updating simple states

View File

@ -10,7 +10,7 @@ this guide applies.
Otherwise, no migration is required.
Also, it's recommended to first read
the new [TypeScript Guide](../guides/typescript.md),
the new [TypeScript Guide](../guides/advanced-typescript.md),
so that the migration is easier to understand.
In addition to this migration guide,
@ -87,8 +87,8 @@ If you are using `StateCreator`,
you are likely authoring a middleware
or using the "slices" pattern.
For that check the
[Authoring middlewares and advanced usage](../guides/typescript.md#authoring-middlewares-and-advanced-usage)
and [Common recipes](../guides/typescript.md#common-recipes)
[Authoring middlewares and advanced usage](../guides/advanced-typescript.md#authoring-middlewares-and-advanced-usage)
and [Common recipes](../guides/advanced-typescript.md#common-recipes)
sections of the TypeScript Guide.
## `PartialState`