chore: rename types to remove word "Type"

This commit is contained in:
2024-08-17 19:30:09 +02:00
parent 7b88633fba
commit 74cb0d45af
19 changed files with 112 additions and 122 deletions

View File

@@ -1,9 +1,9 @@
import { setAppError, setAppStatus } from 'app/app-reducer'
import { ResponseType } from 'api/todolists-api'
import { Response } from 'api/todolists-api'
import { Dispatch } from 'redux'
export const handleServerAppError = <D>(
data: ResponseType<D>,
data: Response<D>,
dispatch: Dispatch
) => {
if (data.messages.length) {