Closed sdnts closed 2 years ago
Latest commit: 0078f5be4dc8cf89e723726f9ebd0cbdac70bfd8
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
cc @mrbbot
D1Result
's generic parameter expects the type of a single item.The type of
result
in the code below isD1Result<User[]>
This means that the type of
result.results
actually ends up beingUser[][]
instead ofUser[]
.