Merge pull request #3722 from Nemo157/mess

Add definitions for mess
This commit is contained in:
Masahiro Wakame
2015-02-25 00:51:05 +09:00
2 changed files with 16 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/// <reference path="./mess.d.ts" />
import mess = require('mess');
var numbers: number[] = [1, 2, 3];
mess(numbers);
numbers = mess([2, 4, 6]);
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for mess 0.1.2
// Project: https://github.com/bobrik/node-mess
// Definitions by: Wim Looman <https://github.com/Nemo157>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "mess" {
function shuffle<T>(array: T[]): T[];
export = shuffle;
}