mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Fix build
This commit is contained in:
parent
c55e3d7227
commit
f304a1580b
16 changed files with 25 additions and 14 deletions
8
shared/core-utils/common/random.ts
Normal file
8
shared/core-utils/common/random.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
// high excluded
|
||||
function randomInt (low: number, high: number) {
|
||||
return Math.floor(Math.random() * (high - low) + low)
|
||||
}
|
||||
|
||||
export {
|
||||
randomInt
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue