Skip to content

Commit

Permalink
Update changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Jun 27, 2022
1 parent 3663690 commit 9ed4803
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .changeset/nine-seals-watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ graphql.field({
}),
},
resolve(source, { something }) {
// this previously incorrectly did not cause an error, it will now error
const a: string | null = something;
// it should be this:
const b: string | null | undefined = something;
const previouslyIncorrectlyAllowedNowError: string | null = something;
const correct: string | null | undefined = something;
return "";
},
});
Expand Down

0 comments on commit 9ed4803

Please sign in to comment.