Skip to content

Commit cb5a978

Browse files
committed
Remove unused type
1 parent 7e49539 commit cb5a978

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

packages/remix/src/utils/instrumentServer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import type {
3333
EntryContext,
3434
FutureConfig,
3535
HandleDocumentRequestFunction,
36-
HandleErrorFunction,
3736
ReactRouterDomPkg,
3837
RemixRequest,
3938
RequestHandler,

packages/remix/src/utils/vendor/types.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,6 @@ export interface DataFunctionArgs {
206206
params: Params;
207207
}
208208

209-
export interface HandleErrorFunction {
210-
(error: unknown, args: DataFunctionArgs): void;
211-
}
212-
213209
export interface DataFunction {
214210
(args: DataFunctionArgs): Promise<Response> | Response | Promise<AppData> | AppData;
215211
}

0 commit comments

Comments
 (0)