Skip to content

Commit

Permalink
fix: Exclude defaultState from NextReduxCookieMiddlewareConfig in…
Browse files Browse the repository at this point in the history
…terface
  • Loading branch information
bjoluc committed Aug 22, 2022
1 parent 8908ceb commit a7b3a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export interface InternalSubtreeConfig
* but `false` for `three`.
*/
export interface NextReduxCookieMiddlewareConfig
extends Omit<SubtreeConfig, "subtree" | "cookieName"> {
extends Omit<SubtreeConfig, "subtree" | "cookieName" | "defaultState"> {
/**
* Specifies which subtrees of the state shall be synced with cookies, and how. Takes a list of
* subtree paths (e.g. `my.subtree`) and/or {@link SubtreeConfig} objects.
Expand Down

0 comments on commit a7b3a49

Please sign in to comment.