Merge pull request #21 from armchair-philosophy/update_general

general: return object isn't assignable to ISummaly
This commit is contained in:
syuilo⭐️ 2017-02-05 08:43:47 +09:00 committed by GitHub
commit 50c88af9ed

View File

@ -14,7 +14,7 @@ client.set('timeout', 10000);
import ISummary from './isummary';
export default async (url: URL.Url): Promise<ISummary> => {
export default async (url: URL.Url) => {
const res = await client.fetch(url.href);
if (res.error) {