1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-30 15:58:09 +09:00

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 Resolver from '../../remote/activitypub/resolver';
export default async ({ data }) => {
export default async ({ data }): Promise<void> => {
const keyIdLower = data.signature.keyId.toLowerCase();
let user;