UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

6 lines • 358 B
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