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.
已回答 1 年前
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>;
}
已回答 1 年前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前