Skip to content

Commit 3f15b10

Browse files
chore: add export to use the ExtractValidation in the spec
1 parent ee1cedd commit 3f15b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/meteor/app/api/server/ApiClass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export type Prettify<T> = {
6464
[K in keyof T]: T[K];
6565
} & unknown;
6666

67-
type ExtractValidation<T> = T extends ValidateFunction<infer TSchema> ? TSchema : unknown;
67+
export type ExtractValidation<T> = T extends ValidateFunction<infer TSchema> ? TSchema : unknown;
6868

6969
export type ExtractRoutesFromAPI<T> =
7070
T extends APIClass<any, infer TOperations> ? (TOperations extends MinimalRoute ? Prettify<ConvertToRoute<TOperations>> : never) : never;

0 commit comments

Comments
 (0)