Refactor: Specify return type

This commit is contained in:
syuilo 2018-04-03 23:57:41 +09:00
parent 5f0e25be66
commit 13f75b6f7d

View file

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