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,5 +1,5 @@
import { request } from 'https';
const { sign } = require('http-signature');
import { sign } from 'http-signature';
import { URL } from 'url';
import * as debug from 'debug';
import * as crypto from 'crypto';