Try to fix #50 by inserting an "as any"
This commit is contained in:
parent
86df78f939
commit
3388b38e3b
|
@ -107,7 +107,7 @@ export class SVGLoader {
|
|||
let time = 0;
|
||||
return window.fetch(PARTITION_SVG_PATHS_ENDPOINT_URL, {
|
||||
body: JSON.stringify({ paths: paths }),
|
||||
headers: {'Content-Type': 'application/json'},
|
||||
headers: {'Content-Type': 'application/json'} as any,
|
||||
method: 'POST',
|
||||
}).then(response => {
|
||||
time = parseServerTiming(response.headers);
|
||||
|
|
Loading…
Reference in New Issue