1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 21:58:58 +09:00
This commit is contained in:
syuilo 2018-04-03 23:01:48 +09:00
parent 5ea9646252
commit f79e05195b

View File

@ -36,7 +36,7 @@ class Creator {
return createRemoteUserObject('driveFiles.files', _id, object);
}
private async createNote(resolver, object) {
private async createNote(resolver: Resolver, object) {
if ('attributedTo' in object && this.actor.account.uri !== object.attributedTo) {
throw new Error();
}
@ -92,7 +92,7 @@ class Creator {
return promisedRemoteUserObject;
}
public async create(parentResolver, value): Promise<Array<Promise<IRemoteUserObject>>> {
public async create(parentResolver: Resolver, value): Promise<Array<Promise<IRemoteUserObject>>> {
const collection = await parentResolver.resolveCollection(value);
return collection.object.map(async element => {