Skip to content

Commit da9d8fd

Browse files
committed
--amend
1 parent e27761a commit da9d8fd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

client/modules/IDE/actions/preferences.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,12 @@ export function setGridOutput(value: SetGridOutputValue) {
247247
};
248248
}
249249

250-
export function setTheme(value) {
250+
export type SetThemeValue = PreferencesState['theme'];
251+
export type SetThemeAction = {
252+
type: typeof ActionTypes.SET_THEME;
253+
preferences: SetThemeValue;
254+
};
255+
export function setTheme(value: SetThemeValue) {
251256
return (dispatch: UpdatePreferencesDispatch, getState: GetRootState) => {
252257
dispatch({
253258
type: ActionTypes.SET_THEME,

0 commit comments

Comments
 (0)