From 5bbf4187e662e33ab8cdd72f8bf7cd1fb7f84b6d Mon Sep 17 00:00:00 2001 From: "Acid Chicken (硫酸鶏)" Date: Wed, 30 Jan 2019 11:51:29 +0900 Subject: Module 'crypto' as import syntax (#4011) --- src/client/app/common/scripts/get-md5.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/app/common/scripts') diff --git a/src/client/app/common/scripts/get-md5.ts b/src/client/app/common/scripts/get-md5.ts index b78a598118..b002d762b1 100644 --- a/src/client/app/common/scripts/get-md5.ts +++ b/src/client/app/common/scripts/get-md5.ts @@ -1,5 +1,5 @@ // スクリプトサイズがデカい -//const crypto = require('crypto'); +//import * as crypto from 'crypto'; export default (data: ArrayBuffer) => { //const buf = new Buffer(data); -- cgit v1.2.3-freya