Edit import to use require, fix version number

This commit is contained in:
Michael McCarthy
2017-01-25 16:09:28 -05:00
parent cf15d34bc4
commit 0b4f4a2538
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for js-md5 v0.4.2
// Type definitions for js-md5 v0.4
// Project: https://github.com/emn178/js-md5
// Definitions by: Michael McCarthy <https://github.com/mwmccarthy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/
+1 -1
View File
@@ -1,4 +1,4 @@
import * as md5 from "js-md5";
import md5 = require("js-md5");
let str: string = md5.hex('The quick brown fox jumps over the lazy dog');
str = md5('The quick brown fox jumps over the lazy dog');