Skip to content

Commit 6a07b76

Browse files
author
James Baxley
committed
type change correctly
1 parent 57d9d63 commit 6a07b76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/apollo-cli/src/commands/queries

packages/apollo-cli/src/commands/queries/check.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default class CheckQueries extends Command {
126126

127127
return tasks.run().then(async ({ changes }) => {
128128
const failures = changes.filter(
129-
({ type }: Change) => type === ChangeType.FAILURE
129+
({ type }: { type: ChangeType }) => type === ChangeType.FAILURE
130130
);
131131
const exit = failures.length > 0 ? 1 : 0;
132132
if (flags.json) {

0 commit comments

Comments
 (0)