diff --git a/blueimp-md5/blueimp-md5-tests.ts b/blueimp-md5/blueimp-md5-tests.ts index 1e2348dc7b..0b59ae2f24 100644 --- a/blueimp-md5/blueimp-md5-tests.ts +++ b/blueimp-md5/blueimp-md5-tests.ts @@ -1,4 +1,4 @@ -import * as md5 from "blueimp-md5"; +import md5 = require("blueimp-md5"); function hash1(): string { return md5('hello world'); diff --git a/blueimp-md5/index.d.ts b/blueimp-md5/index.d.ts index 656bd4316b..881d5c7afe 100644 --- a/blueimp-md5/index.d.ts +++ b/blueimp-md5/index.d.ts @@ -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;