Rename NewActionFunc* back to ActionFunc* (#26007)

Этот коммит содержится в:
Harrison Healey
2024-02-05 12:39:35 -05:00
коммит произвёл GitHub
родитель 8714760ec9
Коммит daad3efd92
56 изменённых файлов: 436 добавлений и 437 удалений

Просмотреть файл

@@ -3,7 +3,7 @@
import type {Store} from 'redux';
import type {NewActionFuncAsync, ThunkActionFunc} from 'mattermost-redux/types/actions';
import type {ActionFuncAsync, ThunkActionFunc} from 'mattermost-redux/types/actions';
import store from 'stores/redux_store';
@@ -23,14 +23,14 @@ export function initializeProducts(): ThunkActionFunc<Promise<unknown>> {
};
}
function configureClient(): NewActionFuncAsync {
function configureClient(): ActionFuncAsync {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
return (dispatch, getState) => {
return Promise.resolve({data: true});
};
}
function loadRemoteModules(): NewActionFuncAsync {
function loadRemoteModules(): ActionFuncAsync {
/* eslint-disable no-console */
return async (/*dispatch, getState*/) => {
// const config = getConfig(getState());