diff --git a/src/index.ts b/src/index.ts index 354d04202..41aa3a9b9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,9 +22,9 @@ export class App { private api: { getSignedJsonWebToken: () => string; getInstallationAccessToken: (options: { - installationId: number - }) => Promise - } + installationId: number; + }) => Promise; + }; constructor({ id, privateKey, baseUrl, cache }: AppOptions) { const state: State = { id, @@ -35,7 +35,7 @@ export class App { this.api = { getSignedJsonWebToken: getSignedJsonWebToken.bind(null, state), getInstallationAccessToken: getInstallationAccessToken.bind(null, state) - } + }; } getSignedJsonWebToken(): string { return this.api.getSignedJsonWebToken();