mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-09 23:57:20 +09:00
general: return object isn't assignable to ISummaly
general's return object doesn't have 'url'.
This commit is contained in:
parent
cf1b1c5b1a
commit
bb79110911
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user