mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Edit import to use require, fix version number
This commit is contained in:
Vendored
+1
-1
@@ -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,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');
|
||||
|
||||
Reference in New Issue
Block a user