mirror of
				https://github.com/bspeice/speice.io
				synced 2025-11-04 10:30:30 -05:00 
			
		
		
		
	Need to get rid of Plotly, unfortuantely - causes issues with hydration. Seems like Victory is better able to handle what I need.
		
			
				
	
	
		
			3 lines
		
	
	
		
			133 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			133 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
export default function randomInteger(min: number, max: number): number {
 | 
						|
    return Math.floor(Math.random() * (max - min)) + min;
 | 
						|
} |