Skip to content

Commit 297af48

Browse files
authored
Updated typescript typings to include a 4th parameter on createStoreWith consistent with the documentation.
This 4th parameter represents an optional initial state.
1 parent 03bc0b6 commit 297af48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface INgRedux {
2828
}
2929

3030
export interface INgReduxProvider {
31-
createStoreWith(reducer: Reducer, middlewares?: Array<Middleware | string>, storeEnhancers?: Function[]): void;
31+
createStoreWith(reducer: Reducer, middlewares?: Array<Middleware | string>, storeEnhancers?: Function[], initialState?: any): void;
3232
}
3333

3434
export var ngRedux: string;

0 commit comments

Comments
 (0)