Skip to content

Commit da4c99d

Browse files
committed
chore: import action type
1 parent 9e45f5e commit da4c99d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/types/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
type TopsShape,
1515
type WrapperShape,
1616
} from '@/enums'
17+
import { REDO, SET_AVATAR_OPTION, SET_SIDER_STATUS, UNDO } from '@/store/mutation-type';
1718

1819
export type None = typeof NONE
1920

@@ -80,3 +81,9 @@ export interface AppState {
8081
}
8182
isCollapsed: boolean
8283
}
84+
85+
// reducer action type
86+
export type ActionTypes = {
87+
type: typeof REDO | typeof SET_AVATAR_OPTION | typeof SET_SIDER_STATUS | typeof UNDO,
88+
payload: boolean
89+
};

0 commit comments

Comments
 (0)