Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
giogonzo committed Mar 20, 2018
1 parent bbbac88 commit 600b9e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { Queries, Commands } from 'avenger';
import { QueryReturn, Commands } from 'avenger';
import { ObjectOmit } from 'typelevel-ts';

export type mixed = object | number | string | boolean | symbol | null;

type Queries = { [k: string]: QueryReturn<any, mixed> }

type QueriesProps<Decl extends Queries> = { [k in keyof Decl]: Decl[k]['_A'] }[keyof Decl];

type QueriesInnerProps<Decl extends Queries> = {
Expand Down

0 comments on commit 600b9e8

Please sign in to comment.