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 2 years 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 a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 4 months ago