arcjet-js
arcjet-js copied to clipboard
Figure out if we can avoid cast in `@arcjet/next`
TypeScript seems to get confused in the protect()
function of @arcjet/next
because we are manipulating generics. We currently just cast to an ArcjetRequest<Rules>
but we should investigate if we can avoid the cast.