Skip to content

Commit 58c6f7e

Browse files
committed
Fix ESLint
1 parent c36bed0 commit 58c6f7e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/middleware/src/private/templateMiddleware.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,13 @@ type InferenceHelper<Request, Props extends object> = {
121121
};
122122
};
123123

124-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
125124
type InferHandler<T extends InferenceHelper<any, any>> = T['~types']['handler'];
126-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
127125
type InferHandlerResult<T extends InferenceHelper<any, any>> = T['~types']['handlerResult'];
128-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
129126
type InferMiddleware<T extends InferenceHelper<any, any>> = T['~types']['middleware'];
130-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
131127
type InferProps<T extends InferenceHelper<any, any>> = T['~types']['props'];
132-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
133128
type InferProviderProps<T extends InferenceHelper<any, any>> = T['~types']['providerProps'];
134-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
135129
type InferProxyProps<T extends InferenceHelper<any, any>> = T['~types']['proxyProps'];
136-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
137130
type InferRenderer<T extends InferenceHelper<any, any>> = T['~types']['renderer'];
138-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
139131
type InferRequest<T extends InferenceHelper<any, any>> = T['~types']['request'];
140132

141133
export default templateMiddleware;

0 commit comments

Comments
 (0)