Skip to content

Commit 34fc808

Browse files
committed
Small updates
1 parent b5cefb4 commit 34fc808

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

playground/src/connected/fc-counter-connected-own-props.spec.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { FCCounterConnectedOwnProps as ConnectedCounter } from './fc-counter-con
77

88
const reducer = combineReducers({
99
counters: combineReducers({
10-
reduxCounter: (state = 0, action: any) => {
10+
reduxCounter: (state: number = 0, action: any) => {
1111
switch (action.type) {
1212
case 'counters/INCREMENT':
1313
return state + 1; // action: { type: "INCREMENT"; }

playground/src/hoc/with-state.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const withState = <BaseProps extends InjectedProps>(
3333
};
3434

3535
render() {
36-
const { ...restProps } = this.props as any;
36+
const { ...restProps } = this.props as {};
3737
const { count } = this.state;
3838

3939
return (

0 commit comments

Comments
 (0)