fix compile error

This commit is contained in:
pengfei.zhou
2021-10-13 15:45:31 +08:00
committed by osborn
parent cba9133388
commit 3969e13d8a
4 changed files with 14 additions and 11 deletions

View File

@@ -10,7 +10,7 @@ const loaders: DoricJSLoader[] = [
{
filter: () => true,
request: async (source) => {
const result = await axios.get(source)
const result = await axios.get<string>(source)
return result.data;
}
}