Skip to content

Commit

Permalink
some more repairs to eslint satisfaction
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Jul 24, 2017
1 parent 292c6c8 commit 0f44ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/jssm.js
Expand Up @@ -17,7 +17,7 @@ const version : null = null; // replaced from package.js in build

import { seq, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm-util.js';

const parse : (string) => array = require('./jssm-dot.js').parse;
const parse : (string) => Array<any> = require('./jssm-dot.js').parse; // todo burn out any



Expand Down Expand Up @@ -279,7 +279,7 @@ class machine<mNT, mDT> {

probabilistic_walk(n : number) : Array<mNT> {
return seq(n)
.map(() : string => {
.map(() : mNT => {
const state_was : mNT = this.state();
this.probabilistic_transition();
return state_was;
Expand Down

0 comments on commit 0f44ceb

Please sign in to comment.