Skip to content

Commit a7b3a49

Browse files
committed
fix: Exclude defaultState from NextReduxCookieMiddlewareConfig interface
1 parent 8908ceb commit a7b3a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export interface InternalSubtreeConfig
105105
* but `false` for `three`.
106106
*/
107107
export interface NextReduxCookieMiddlewareConfig
108-
extends Omit<SubtreeConfig, "subtree" | "cookieName"> {
108+
extends Omit<SubtreeConfig, "subtree" | "cookieName" | "defaultState"> {
109109
/**
110110
* Specifies which subtrees of the state shall be synced with cookies, and how. Takes a list of
111111
* subtree paths (e.g. `my.subtree`) and/or {@link SubtreeConfig} objects.

0 commit comments

Comments
 (0)