Skip to content

Commit

Permalink
feat: extend SDK types
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarrku committed Jul 20, 2021
1 parent e5315e8 commit 6e28f00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ declare module "skedify-sdk" {
type WithCreate<T, Response> = T & { create: () => Response };
type WithDelete<T, Response> = T & { delete: () => Response };


type WithFilter<T, AdditionalFilters> = {
[key in keyof T | AdditionalFilters]: (param: T[key]) => void;
};
Expand Down

0 comments on commit 6e28f00

Please sign in to comment.