mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Fix spacing
This commit is contained in:
4
types/next-redux-wrapper/index.d.ts
vendored
4
types/next-redux-wrapper/index.d.ts
vendored
@@ -29,8 +29,8 @@ interface NextPageComponentMethods {
|
||||
type NextReduxWrappedComponent = React.Component & NextPageComponentMethods;
|
||||
|
||||
type NextStoreCreator<TInitialState, TStateProps, TDispatchProps, TOwnProps, TMergedProps> = (
|
||||
initialState: TInitialState,
|
||||
options: nextReduxWrapper.StoreCreatorOptions<TInitialState, TStateProps, TDispatchProps, TOwnProps, TMergedProps>
|
||||
initialState: TInitialState,
|
||||
options: nextReduxWrapper.StoreCreatorOptions<TInitialState, TStateProps, TDispatchProps, TOwnProps, TMergedProps>
|
||||
) => Store<TInitialState>;
|
||||
|
||||
declare function nextReduxWrapper<TInitialState = any, TStateProps = any, TDispatchProps = any, TOwnProps = any, TMergedProps = any>(
|
||||
|
||||
@@ -81,8 +81,8 @@ const com6 = withRedux<InitialState, ConnectStateProps, DispatchProps, OwnProps,
|
||||
)(Page);
|
||||
|
||||
const com7 = withRedux({
|
||||
createStore: makeStore,
|
||||
mapStateToProps: (state: ReduxStore) => ({foo: state.foo})
|
||||
createStore: makeStore,
|
||||
mapStateToProps: (state: ReduxStore) => ({foo: state.foo})
|
||||
})(Page);
|
||||
|
||||
withRedux.setPromise(Promise);
|
||||
|
||||
Reference in New Issue
Block a user