Skip to content

Commit

Permalink
feat($typings): export Query type
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiglingeanu committed Feb 14, 2018
1 parent cb9278c commit 2f57ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ declare function update<K, V>(
declare function update<T>(data: T, query: Query<T>): T

type Tree<T> = {[K in keyof T]?: Query<T[K]>}
type Query<T> =
export type Query<T> =
| Tree<T>
| ObjectOperators<T>
| ArrayOperators<any>
Expand Down

0 comments on commit 2f57ec6

Please sign in to comment.