Skip to content

Commit aef26fe

Browse files
committed
chore: run cargo check
1 parent 67c6929 commit aef26fe

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

packages/core/src/service/index.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ export type HttpService<Response = HttpResponse> = Service<HttpRequest, Response
2525
export type AnyService = Service<any, any>;
2626
export type UnknownService = Service<unknown, unknown>;
2727
// biome-ignore lint/suspicious/noExplicitAny: required for inference
28-
export type InferRequest<S extends AnyService> = S extends Service<infer Request, any>
29-
? Request
30-
: never;
28+
export type InferRequest<S extends AnyService> =
29+
S extends Service<infer Request, any> ? Request : never;
3130
// biome-ignore lint/suspicious/noExplicitAny: required for inference
32-
export type InferResponse<S extends AnyService> = S extends Service<any, infer Response>
33-
? Response
34-
: never;
31+
export type InferResponse<S extends AnyService> =
32+
S extends Service<any, infer Response> ? Response : never;
3533

3634
export * from "./service-fn.js";

packages/docs/.vitepress/theme/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,6 @@
130130
* -------------------------------------------------------------------------- */
131131

132132
.DocSearch {
133+
/* biome-ignore lint/complexity/noImportantStyles: defined by vitepress */
133134
--docsearch-primary-color: var(--vp-c-brand-1) !important;
134135
}

0 commit comments

Comments
 (0)