mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Fix es6 import for blueimp-md5.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as md5 from "blueimp-md5";
|
||||
import md5 = require("blueimp-md5");
|
||||
|
||||
function hash1(): string {
|
||||
return md5('hello world');
|
||||
|
||||
Vendored
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user