mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
@@ -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]);
|
||||
Vendored
+9
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user