Fix es6 import for blueimp-md5.

This commit is contained in:
Mikael Kohlmyr
2017-03-23 14:11:24 +01:00
parent 7d3e93b80d
commit 94692a26d7
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import * as md5 from "blueimp-md5";
import md5 = require("blueimp-md5");
function hash1(): string {
return md5('hello world');
-1
View File
@@ -4,5 +4,4 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function md5(value: string, key?: string, raw?: boolean): string;
declare namespace md5 { }
export = md5;