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;
|
let time = 0;
|
||||||
return window.fetch(PARTITION_SVG_PATHS_ENDPOINT_URL, {
|
return window.fetch(PARTITION_SVG_PATHS_ENDPOINT_URL, {
|
||||||
body: JSON.stringify({ paths: paths }),
|
body: JSON.stringify({ paths: paths }),
|
||||||
headers: {'Content-Type': 'application/json'},
|
headers: {'Content-Type': 'application/json'} as any,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
time = parseServerTiming(response.headers);
|
time = parseServerTiming(response.headers);
|
||||||
|
|
Loading…
Reference in New Issue