0
0

Invoke a constructor with parentheses

This commit is contained in:
Akihiko Odaki 2018-04-03 12:28:34 +09:00
parent 6503beecc5
commit b5487826a6

View File

@ -24,7 +24,7 @@ export default async function resolve(query, verifier?: string): Promise<IWebFin
if (typeof verifier === 'string') {
if (subject !== verifier) {
throw new Error;
throw new Error();
}
return finger;
@ -34,5 +34,5 @@ export default async function resolve(query, verifier?: string): Promise<IWebFin
return resolve(subject, subject);
}
throw new Error;
throw new Error();
}