general: return object isn't assignable to ISummaly

general's return object doesn't have 'url'.
This commit is contained in:
otofune 2017-02-05 08:39:38 +09:00
parent cf1b1c5b1a
commit bb79110911

View File

@ -14,7 +14,7 @@ client.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) {