File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 106106 */
107107
108108/**
109- * @template [T=any] Default is `any`
110109 * @typedef {{ _?: string; $?: any; _type?: { [K in keyof any]: never } }
111- * | { [K: string]: Query<T> }} Query
110+ * | { [K: string]: Query }} Query
112111 */
113112
114113export { Context } from '#src/context.js' ;
Original file line number Diff line number Diff line change @@ -83,10 +83,10 @@ export type Type<O extends TypeOptions = {}> = Recursive<(O["typeName"] extends
8383 } ) => any ;
8484} & Get < O [ "extensions" ] , { } > ) > ;
8585export type Schema < O extends TypeOptions = { } > = O [ "typeName" ] extends string ? { [ K in O [ "typeName" ] ] : SubType < O > ; } : { [ K in keyof any ] : never ; } ;
86- export type Query < T = any > = {
86+ export type Query = {
8787 _ ?: string ;
8888 $ ?: any ;
8989 _type ?: { [ K in keyof any ] : never ; } ;
9090} | {
91- [ K : string ] : Query < T > ;
91+ [ K : string ] : Query ;
9292} ;
You can’t perform that action at this time.
0 commit comments