Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "node"
- "11.10.1"
install:
- npm i -g npm@5.8.0
- npm ci
Expand Down
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ export interface Store<S = any, A extends Action = AnyAction> {
replaceReducer(nextReducer: Reducer<S, A>): void
}

export type DeepPartial<T> = { [K in keyof T]?: DeepPartial<T[K]> }
export type DeepPartial<T> = {
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K]
}

/**
* A store creator is a function that creates a Redux store. Like with
Expand Down