2 Answers
- Newest
- Most votes
- Most comments
0
Hi Artur,
re-checked based on your information and I built a small demo that works without such error. I would advice to check the Console page of your browser's inspect feature and see if there are any errors showing up.
answered a year ago
0
Hi Artur - perhaps you are using Typescript? I managed to get this working adding a declaration in a .d.ts
file. The typing matches exactly fetch
's usual typing.
declare namespace AwsWafIntegration {
declare function fetch(
input: RequestInfo | URL,
init?: RequestInit | undefined
): Promise<Response>;
}
answered a year ago
Relevant content
- asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago