Skip to content

Commit

Permalink
PDE-5544 Update z.cache.set ts typing
Browse files Browse the repository at this point in the history
  • Loading branch information
kola-er committed Nov 20, 2024
1 parent 98b65b6 commit bc2952a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/types/zapier.custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export interface ZObject {

cache: {
get: (key: string) => Promise<any>;
set: (key: string, value: any, ttl?: number) => Promise<boolean>;
set: (key: string, value: any, ttl?: number, nx?: boolean) => Promise<boolean|null>;
delete: (key: string) => Promise<boolean>;
};
}
Expand Down

0 comments on commit bc2952a

Please sign in to comment.