Skip to content

Commit

Permalink
Make deleteInstallation optional (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
misscoded committed Jun 18, 2021
1 parent e771849 commit 89b1838
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/oauth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ export interface InstallationStore {
logger?: Logger): Promise<void>;
fetchInstallation:
(query: InstallationQuery<boolean>, logger?: Logger) => Promise<Installation<'v1' | 'v2', boolean>>;
deleteInstallation:
// TODO :: remove optionality in v3.0
deleteInstallation?:
(query: InstallationQuery<boolean>, logger?: Logger) => Promise<void>;
}

Expand Down

0 comments on commit 89b1838

Please sign in to comment.