Skip to content

Commit

Permalink
feat: export Deps type
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Jul 31, 2020
1 parent 73bbc6b commit 5244ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type Deps<T extends Record<string, any>> = {
export type Deps<T extends Record<string, any>> = {
[P in keyof T]: T[P] extends { _velona: boolean }
? (...args: Parameters<T[P]>) => ReturnType<T[P]>
: T[P]
Expand Down

0 comments on commit 5244ab2

Please sign in to comment.