fix CI; update type of RequestParameters from maplibre util/ajax.ts

This commit is contained in:
Brandon Liu
2023-05-29 11:18:54 +08:00
parent 9c7f298fb4
commit af6cc00c0f

View File

@@ -78,7 +78,7 @@ type RequestParameters = {
headers?: any;
method?: "GET" | "POST" | "PUT";
body?: string;
type?: "string" | "json" | "arrayBuffer";
type?: "string" | "json" | "arrayBuffer" | "image";
credentials?: "same-origin" | "include";
collectResourceTiming?: boolean;
};