Refactor: Specify return type

This commit is contained in:
syuilo 2018-04-03 23:57:41 +09:00
parent a6f63e055a
commit 9694c1fc37

View file

@ -5,7 +5,7 @@ import act from '../../remote/activitypub/act';
import resolvePerson from '../../remote/activitypub/resolve-person'; import resolvePerson from '../../remote/activitypub/resolve-person';
import Resolver from '../../remote/activitypub/resolver'; import Resolver from '../../remote/activitypub/resolver';
export default async ({ data }) => { export default async ({ data }): Promise<void> => {
const keyIdLower = data.signature.keyId.toLowerCase(); const keyIdLower = data.signature.keyId.toLowerCase();
let user; let user;