one
Version:
One is a new React Framework that makes Vite serve both native and web.
6 lines • 358 B
TypeScript
type Query<a, b> = any;
type QueryRowType<a> = any;
type GenericQuery = Query<any, any>;
export type ZeroResult<X extends GenericQuery | ((props: any) => GenericQuery)> = X extends (props: any) => infer Y ? Y extends GenericQuery ? QueryRowType<Y> : unknown : X extends GenericQuery ? QueryRowType<X> : unknown;
export {};
//# sourceMappingURL=types.d.ts.map