Skip to content

Commit

Permalink
Merge pull request #299 from skedify/feat/bump-version
Browse files Browse the repository at this point in the history
feat: extend SDK types
  • Loading branch information
BenSwennen authored Jul 20, 2021
2 parents e5315e8 + 6e28f00 commit d3571f5
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 d3571f5

Please sign in to comment.