mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 06:50:19 +00:00
@@ -0,0 +1,7 @@
|
||||
/// <reference path='./blueimp-md5.d.ts' />
|
||||
|
||||
import blueimp = require('blueimp-md5');
|
||||
|
||||
function hash(): boolean {
|
||||
return blueimp.md5('hello world') === '5eb63bbbe01eeed093cb22bb8f5acdc3';
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
--noImplicitAny --module commonjs
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
// Type definitions for blueimp-md5 v1.1.0
|
||||
// Project: https://github.com/blueimp/JavaScript-MD5
|
||||
// Definitions by: Ray Martone <https://github.com/rmartone>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
declare module 'blueimp-md5' {
|
||||
export function md5(value: string, key?: string, raw?: boolean): string;
|
||||
}
|
||||
Reference in New Issue
Block a user