From a5665d15abad47b44f1b1924bff8697e5d401c90 Mon Sep 17 00:00:00 2001 From: gu Date: Mon, 1 Feb 2016 10:39:50 +0100 Subject: [PATCH] fix --- random-js/random-js-tests.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/random-js/random-js-tests.ts b/random-js/random-js-tests.ts index 0d4d82b7f..9ee80883b 100644 --- a/random-js/random-js-tests.ts +++ b/random-js/random-js-tests.ts @@ -1,11 +1,11 @@ /// -/// +/// // Examples taken from the documentation at https://github.com/ckknight/random-js - -import Random = require("random-js"); - // create a Mersenne Twister-19937 that is auto-seeded based on time and other random values +import Engine = random.Engine; +import Random = random.Random; + var engine: Engine = Random.engines.mt19937().autoSeed(); // create a distribution that will consistently produce integers within inclusive range [0, 99]. var distribution: Function = Random.integer(0, 99);