Skip to content

Commit

Permalink
fix cast
Browse files Browse the repository at this point in the history
  • Loading branch information
blaine-arcjet committed Dec 11, 2023
1 parent 30d0492 commit 01fa0b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcjet-next/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export default function arcjetNext<const Rules extends (Primitive | Product)[]>(
headers,
extra,
// TODO(#220): The generic manipulations get really mad here, so we just cast it
} as ArcjetRequest<Rules>);
} as ArcjetRequest<ExtraProps<Rules>>);

return decision;
},
Expand Down

0 comments on commit 01fa0b2

Please sign in to comment.