Module 'crypto' as import syntax (#4011)

This commit is contained in:
Acid Chicken (硫酸鶏)
2019-01-30 11:51:29 +09:00
committed by syuilo
parent f2425f71c2
commit 5bbf4187e6
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import { request } from 'https';
const { sign } = require('http-signature');
import { URL } from 'url';
import * as debug from 'debug';
const crypto = require('crypto');
import * as crypto from 'crypto';
const { lookup } = require('lookup-dns-cache');
const promiseAny = require('promise-any');