Skip to content

Commit

Permalink
remove optional chaining'
Browse files Browse the repository at this point in the history
  • Loading branch information
ssanjay1 committed Feb 20, 2024
1 parent 564d4c0 commit e97d480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/object/aggregateOrThrow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ describe("aggregateOrThrow", () => {
},
);
expectType<Array<any>>(grouped);
expectType<string | undefined>(grouped[0].$group?.text);
expectType<number>(grouped[0].id?.approximateDistinct);
expectType<string | undefined>(grouped[0].$group.text);
expectType<number>(grouped[0].id.approximateDistinct);
});

it("works with where: todo", async () => {
Expand Down

0 comments on commit e97d480

Please sign in to comment.