2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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.
답변함 4년 전
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>;
}
답변함 4년 전
