Create type definition for 'http-signature' (#4049)

* Create type definition for 'http-signature'

* Follow lint
This commit is contained in:
Acid Chicken (硫酸鶏) 2019-02-01 19:59:12 +09:00 committed by Aya Morisawa
parent 2f72c38516
commit 40e177fa96
4 changed files with 78 additions and 3 deletions

View file

@ -1,7 +1,7 @@
import * as bq from 'bee-queue';
import * as debug from 'debug';
const httpSignature = require('http-signature');
import * as httpSignature from 'http-signature';
import parseAcct from '../../../misc/acct/parse';
import User, { IRemoteUser } from '../../../models/user';
import perform from '../../../remote/activitypub/perform';