diff --git a/.github/workflows/update-prettier.yml b/.github/workflows/update-prettier.yml index 99f2e2b3..0485c870 100644 --- a/.github/workflows/update-prettier.yml +++ b/.github/workflows/update-prettier.yml @@ -2,7 +2,7 @@ name: Update Prettier "on": push: branches: - - dependabot/npm_and_yarn/prettier-* + - renovate/prettier-* jobs: update_prettier: runs-on: ubuntu-latest diff --git a/package-lock.json b/package-lock.json index ada026e5..d5024d6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10400,9 +10400,9 @@ "dev": true }, "prettier": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", - "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", + "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", "dev": true }, "prettier-plugin-packagejson": { diff --git a/package.json b/package.json index 8adc230f..24e645c7 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "get-port": "^5.0.0", "jest": "^26.2.2", "node-fetch": "^2.6.1", - "prettier": "^2.0.1", + "prettier": "2.3.0", "prettier-plugin-packagejson": "^2.2.9", "semantic-release": "^17.0.0", "ts-jest": "^26.2.0", diff --git a/src/types.ts b/src/types.ts index 2dea47f3..b9b3978a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -63,7 +63,8 @@ export interface WebhookEventHandlerError extends AggregateError { */ declare class AggregateError extends Error - implements Iterable { + implements Iterable +{ readonly name: "AggregateError"; constructor(errors: ReadonlyArray); diff --git a/test/fixtures/index.ts b/test/fixtures/index.ts index 959b9e8b..92306f9a 100644 --- a/test/fixtures/index.ts +++ b/test/fixtures/index.ts @@ -12,5 +12,7 @@ import installationDeletedEvent from "./installation-deleted-payload.json"; // @see https://github.com/microsoft/TypeScript/issues/32063 export const pushEventPayload = pushEvent as PushEvent; -export const installationCreatedPayload = installationCreatedEvent as InstallationCreatedEvent; -export const installationDeletedPayload = installationDeletedEvent as InstallationDeletedEvent; +export const installationCreatedPayload = + installationCreatedEvent as InstallationCreatedEvent; +export const installationDeletedPayload = + installationDeletedEvent as InstallationDeletedEvent;